#C04EEC#C04EEC

#C04EEC is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.0% C 0.237 H 315.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C04EEC
RGBrgb(192, 78, 236)
HSLhsl(283, 81%, 62%)
HSVhsv(283, 67%, 93%)
CMYKcmyk(18.6%, 66.9%, 0%, 7.5%)
CIE-LABlab(54.78, 68.38, -59.67)
CIE-LCHlch(54.78, 90.75, 318.89°)
OKLaboklab(64% 0.168 -0.1678)
OKLCHoklch(64% 0.238 315)
XYZxyz(39.6005, 22.7128, 81.6386)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EEC #7AEC4E
analogous
#714EEC #C04EEC #EC4EC9
triadic
#C04EEC #ECC04E #4EECC0
tetradic
#C04EEC #EC714E #7AEC4E #4EC9EC
square
#C04EEC #EC714E #7AEC4E #4EC9EC
split-complementary
#C04EEC #C9EC4E #4EEC71
monochromatic
#8213AD #AC19E4 #C04EEC #D485F2 #E7BDF8

Accessibility & contrast

On white

3.79
#C04EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#C04EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EEC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EEC#FFFFFF#000000##000000
##C04EEC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#4A86E8
Tritanopia (blue-blind)
#BD6D97
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c04eec;
/* rgb */ color: rgb(192, 78, 236);
/* oklch */ color: oklch(64.0% 0.237 315.0);
Tailwind
colors: {
  custom: {
    50: '#d788f3',
    500: '#c04eec',
    950: '#000000',
  },
}
SCSS
$custom: #c04eec;
$custom-light: #d788f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04eec",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 236
  },
  "hsl": {
    "h": 283.291,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64002,
    "c": 0.2375,
    "h": 315
  },
  "luminance": 0.22711
}

Semantic roles & 50–950 ramp

primary
#C04EEC
secondary
#BEE8AE
accent
#DD0944
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C04EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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