#C03EC2#C03EC2

#C03EC2 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.9% C 0.221 H 327.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C03EC2
RGBrgb(192, 62, 194)
HSLhsl(299, 52%, 50%)
HSVhsv(299, 68%, 76%)
CMYKcmyk(1%, 68%, 0%, 23.9%)
CIE-LABlab(50.16, 66.97, -43.13)
CIE-LCHlch(50.16, 79.66, 327.22°)
OKLaboklab(59.92% 0.1858 -0.1194)
OKLCHoklch(59.92% 0.221 327.3)
XYZxyz(33.1979, 18.5490, 52.8602)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03EC2 #40C23E
analogous
#7E3EC2 #C03EC2 #C23E82
triadic
#C03EC2 #C2C03E #3EC2C0
tetradic
#C03EC2 #C27E3E #40C23E #3E82C2
square
#C03EC2 #C27E3E #40C23E #3E82C2
split-complementary
#C03EC2 #82C23E #3EC27E
monochromatic
#642066 #922F94 #C03EC2 #CF6DD1 #DE9BDF

Accessibility & contrast

On white

4.46
#C03EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#C03EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C03EC2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03EC2#FFFFFF#000000##000000
##C03EC21.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#276DC6
Deuteranopia (green-blind)
#5E7DBF
Tritanopia (blue-blind)
#C6517B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c03ec2;
/* rgb */ color: rgb(192, 62, 194);
/* oklch */ color: oklch(59.9% 0.221 327.3);
Tailwind
colors: {
  custom: {
    50: '#d77ed5',
    500: '#c03ec2',
    950: '#000000',
  },
}
SCSS
$custom: #c03ec2;
$custom-light: #d77ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#c03ec2",
  "rgb": {
    "r": 192,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 299.091,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59915,
    "c": 0.22093,
    "h": 327.3
  },
  "luminance": 0.18547
}

Semantic roles & 50–950 ramp

primary
#C03EC2
secondary
#91CB90
accent
#DB4C4F
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C03EC2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C03EC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva