#C04FE1#C04FE1

#C04FE1 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.4% C 0.226 H 317.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#C04FE1
RGBrgb(192, 79, 225)
HSLhsl(286, 71%, 60%)
HSVhsv(286, 65%, 88%)
CMYKcmyk(14.7%, 64.9%, 0%, 11.8%)
CIE-LABlab(54.28, 65.82, -54.28)
CIE-LCHlch(54.28, 85.32, 320.49°)
OKLaboklab(63.44% 0.1674 -0.1521)
OKLCHoklch(63.44% 0.226 317.8)
XYZxyz(38.1229, 22.2363, 73.5035)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FE1 #70E14F
analogous
#774FE1 #C04FE1 #E14FB9
triadic
#C04FE1 #E1C04F #4FE1C0
tetradic
#C04FE1 #E1774F #70E14F #4FB9E1
square
#C04FE1 #E1774F #70E14F #4FB9E1
split-complementary
#C04FE1 #B9E14F #4FE177
monochromatic
#7E1A9B #A923CF #C04FE1 #D383EA #E5B8F3

Accessibility & contrast

On white

3.86
#C04FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04FE1#FFFFFF#000000##000000
##C04FE11.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#177BE5
Deuteranopia (green-blind)
#5485DD
Tritanopia (blue-blind)
#BF6992
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c04fe1;
/* rgb */ color: rgb(192, 79, 225);
/* oklch */ color: oklch(63.4% 0.226 317.8);
Tailwind
colors: {
  custom: {
    50: '#d788eb',
    500: '#c04fe1',
    950: '#000000',
  },
}
SCSS
$custom: #c04fe1;
$custom-light: #d788eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fe1",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 286.438,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63436,
    "c": 0.2262,
    "h": 317.8
  },
  "luminance": 0.22235
}

Semantic roles & 50–950 ramp

primary
#C04FE1
secondary
#B6E2AA
accent
#EE3A63
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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