#C04EE5#C04EE5

#C04EE5 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.6% C 0.231 H 316.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#C04EE5
RGBrgb(192, 78, 229)
HSLhsl(285, 74%, 60%)
HSVhsv(285, 66%, 90%)
CMYKcmyk(16.2%, 65.9%, 0%, 10.2%)
CIE-LABlab(54.36, 67.01, -56.40)
CIE-LCHlch(54.36, 87.59, 319.91°)
OKLaboklab(63.57% 0.1684 -0.1583)
OKLCHoklch(63.57% 0.231 316.8)
XYZxyz(38.6034, 22.3139, 76.3871)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EE5 #73E54E
analogous
#744EE5 #C04EE5 #E54EBE
triadic
#C04EE5 #E5C04E #4EE5C0
tetradic
#C04EE5 #E5744E #73E54E #4EBEE5
square
#C04EE5 #E5744E #73E54E #4EBEE5
split-complementary
#C04EE5 #BEE54E #4EE574
monochromatic
#7F18A1 #AA1FD6 #C04EE5 #D383ED #E6B9F5

Accessibility & contrast

On white

3.84
#C04EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#C04EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EE5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EE5#FFFFFF#000000##000000
##C04EE51.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BE9
Deuteranopia (green-blind)
#5085E1
Tritanopia (blue-blind)
#BE6A93
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c04ee5;
/* rgb */ color: rgb(192, 78, 229);
/* oklch */ color: oklch(63.6% 0.231 316.8);
Tailwind
colors: {
  custom: {
    50: '#d787ee',
    500: '#c04ee5',
    950: '#000000',
  },
}
SCSS
$custom: #c04ee5;
$custom-light: #d787ee;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ee5",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 285.298,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6357,
    "c": 0.23112,
    "h": 316.8
  },
  "luminance": 0.22312
}

Semantic roles & 50–950 ramp

primary
#C04EE5
secondary
#B9E4AA
accent
#D70F40
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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