#C04EC0#C04EC0

#C04EC0 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.5% C 0.198 H 327.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#C04EC0
RGBrgb(192, 78, 192)
HSLhsl(300, 48%, 53%)
HSVhsv(300, 59%, 75%)
CMYKcmyk(0%, 59.4%, 0%, 24.7%)
CIE-LABlab(52.36, 60.21, -38.49)
CIE-LCHlch(52.36, 71.47, 327.41°)
OKLaboklab(61.48% 0.1677 -0.1062)
OKLCHoklch(61.48% 0.198 327.7)
XYZxyz(33.9765, 20.4632, 52.0192)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EC0 #4EC04E
analogous
#874EC0 #C04EC0 #C04E87
triadic
#C04EC0 #C0C04E #4EC0C0
tetradic
#C04EC0 #C0874E #4EC04E #4E87C0
square
#C04EC0 #C0874E #4EC04E #4E87C0
split-complementary
#C04EC0 #87C04E #4EC087
monochromatic
#6D276D #9A379A #C04EC0 #D07BD0 #E0A8E0

Accessibility & contrast

On white

4.12
#C04EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#C04EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EC0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EC0#FFFFFF#000000##000000
##C04EC01.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4173C3
Deuteranopia (green-blind)
#6882BD
Tritanopia (blue-blind)
#C65C80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04ec0;
/* rgb */ color: rgb(192, 78, 192);
/* oklch */ color: oklch(61.5% 0.198 327.7);
Tailwind
colors: {
  custom: {
    50: '#d686d3',
    500: '#c04ec0',
    950: '#000000',
  },
}
SCSS
$custom: #c04ec0;
$custom-light: #d686d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ec0",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 300,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61475,
    "c": 0.19844,
    "h": 327.7
  },
  "luminance": 0.20461
}

Semantic roles & 50–950 ramp

primary
#C04EC0
secondary
#9CCE9C
accent
#D75151
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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