What is hex #C151FF color?

 
The hex code #C151FF is closest to the named color Medium Orchid (#BA55D3).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 76% red, 32% green and 100% blue, resulting in rgb(193, 81, 255) and hsl(279, 100%, 66%).
For print media and manufacturing layout, the CMYK equivalent is (24%, 68%, 0%, 0%).
In the HSV/HSB scale, #C151FF features a hue of 279°, 68% saturation, and 100% brightness.

Hex #C151FF Color Codes & Conversions

Closest Named Color
Medium Orchid (#BA55D3)
Hex Code #C151FF
Hex8 (RGBA Hex) #C151FFFF
RGB (CSS) rgb(193, 81, 255)
RGBA (CSS) rgba(193, 81, 255, 1)
HSL (CSS) hsl(279, 100%, 66%)
HSLA (CSS) hsla(279, 100%, 66%, 1)
HSV / HSB (279°, 68%, 100%)
CMYK Values (24%, 68%, 0%, 0%)
OKLCH (Modern CSS) oklch(65.7% 0.252 310.8)
CIE-LAB (D65) 56.53, 71.16, -67.42
CIE XYZ 42.98, 24.44, 97.04
Decimal / Binary 12669439
11000001 01010001 11111111

Closest Standards & Equivalents

Closest Web Safe
#CC66FF
Inverse Color
#3EAE00
Complementary Color
#8FFF51
Closest Pantone®
Pantone 252 C
Closest RAL
RAL 4003 [Heather violet]

#C151FF Grayscale Equivalents

Average
#B0B0B0
Lightness (Desaturation)
#A8A8A8
Weighted (BT601)
#868686
Luma (BT709)
#757575

WCAG 2.1 Color Contrast & Accessibility

Check how #C151FF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #C151FF

Sample preview of readable typography on top of #C151FF.

Contrast Ratio: 3.57:1
AA Fail AAA Fail

Black Text on #C151FF

Sample preview of readable typography on top of #C151FF.

Contrast Ratio: 5.89:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #C151FF

Preview #C151FF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #C151FF;
Typography Color Preview
color: #C151FF;
Border & Shadow Preview
border: 2px solid #C151FF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #C151FF;
  --color-primary-rgb: 193, 81, 255;
  --color-complementary: #8FFF51;
}
.btn-accent {
  background-color: #C151FF;
  color: #000000;
}

Hex #C151FF Color Palettes

Complementary Palette

The complementary color of #C151FF is #8FFF51. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #C151FF pairs with #6A51FF and #FF51E6, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #C151FF pairs with #51FF6A and #E6FF51, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #C151FF uses #51FFC1 and #FFC151, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #C151FF combines #FFC151, #8FFF51 and #518FFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #C151FF pairs with #FF6A51, #8FFF51 and #51E6FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #C151FF

Tints

Tints are created by mixing #C151FF with white, producing lighter variations.

Tones

Tones are created by mixing #C151FF with gray, softening saturation.

Shades

Shades result from mixing #C151FF with black, creating deeper variations.

Hex #C151FF in Programming & CSS Frameworks

Copy the exact syntax for #C151FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #C151FF
Tailwind CSS bg-[#C151FF] text-[#C151FF]
Java (AWT) new Color(193,81,255);
Python Color("#C151FF")
.NET (C#) Color.FromArgb(255, 193,81,255);
Swift / iOS UIColor(red: 0.76, green: 0.32, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(193, 81, 255)