#C04ED9#C04ED9

#C04ED9 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.9% C 0.220 H 320.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#C04ED9
RGBrgb(192, 78, 217)
HSLhsl(289, 65%, 58%)
HSVhsv(289, 64%, 85%)
CMYKcmyk(11.5%, 64.1%, 0%, 14.9%)
CIE-LABlab(53.67, 64.73, -50.72)
CIE-LCHlch(53.67, 82.23, 321.92°)
OKLaboklab(62.85% 0.1687 -0.1417)
OKLCHoklch(62.85% 0.22 320)
XYZxyz(36.9855, 21.6667, 67.8661)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04ED9 #67D94E
analogous
#7B4ED9 #C04ED9 #D94EAC
triadic
#C04ED9 #D9C04E #4ED9C0
tetradic
#C04ED9 #D97B4E #67D94E #4EACD9
square
#C04ED9 #D97B4E #67D94E #4EACD9
split-complementary
#C04ED9 #ACD94E #4ED97B
monochromatic
#7A1F8E #A529C0 #C04ED9 #D280E4 #E4B3EF

Accessibility & contrast

On white

3.94
#C04ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#C04ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04ED9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04ED9#FFFFFF#000000##000000
##C04ED91.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2578DD
Deuteranopia (green-blind)
#5984D6
Tritanopia (blue-blind)
#C1668D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c04ed9;
/* rgb */ color: rgb(192, 78, 217);
/* oklch */ color: oklch(62.9% 0.220 320.0);
Tailwind
colors: {
  custom: {
    50: '#d687e5',
    500: '#c04ed9',
    950: '#000000',
  },
}
SCSS
$custom: #c04ed9;
$custom-light: #d687e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ed9",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 289.209,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62854,
    "c": 0.22028,
    "h": 320
  },
  "luminance": 0.21665
}

Semantic roles & 50–950 ramp

primary
#C04ED9
secondary
#B0DDA6
accent
#E8405E
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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