#C04EE4#C04EE4

#C04EE4 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.5% C 0.230 H 317.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#C04EE4
RGBrgb(192, 78, 228)
HSLhsl(286, 74%, 60%)
HSVhsv(286, 66%, 89%)
CMYKcmyk(15.8%, 65.8%, 0%, 10.6%)
CIE-LABlab(54.30, 66.82, -55.93)
CIE-LCHlch(54.30, 87.14, 320.07°)
OKLaboklab(63.51% 0.1685 -0.1569)
OKLCHoklch(63.51% 0.23 317)
XYZxyz(38.4642, 22.2582, 75.6539)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EE4 #72E44E
analogous
#754EE4 #C04EE4 #E44EBD
triadic
#C04EE4 #E4C04E #4EE4C0
tetradic
#C04EE4 #E4754E #72E44E #4EBDE4
square
#C04EE4 #E4754E #72E44E #4EBDE4
split-complementary
#C04EE4 #BDE44E #4EE475
monochromatic
#7F189F #A920D4 #C04EE4 #D383EC #E6B8F4

Accessibility & contrast

On white

3.85
#C04EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#C04EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EE4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EE4#FFFFFF#000000##000000
##C04EE41.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#057BE8
Deuteranopia (green-blind)
#5185E0
Tritanopia (blue-blind)
#BE6A93
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c04ee4;
/* rgb */ color: rgb(192, 78, 228);
/* oklch */ color: oklch(63.5% 0.230 317.0);
Tailwind
colors: {
  custom: {
    50: '#d787ed',
    500: '#c04ee4',
    950: '#000000',
  },
}
SCSS
$custom: #c04ee4;
$custom-light: #d787ed;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ee4",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 285.6,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.63509,
    "c": 0.23021,
    "h": 317
  },
  "luminance": 0.22257
}

Semantic roles & 50–950 ramp

primary
#C04EE4
secondary
#B8E4AA
accent
#F03864
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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