#C04FE0#C04FE0

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

Color values

HEX#C04FE0
RGBrgb(192, 79, 224)
HSLhsl(287, 70%, 59%)
HSVhsv(287, 65%, 88%)
CMYKcmyk(14.3%, 64.7%, 0%, 12.2%)
CIE-LABlab(54.22, 65.63, -53.81)
CIE-LCHlch(54.22, 84.87, 320.65°)
OKLaboklab(63.38% 0.1675 -0.1507)
OKLCHoklch(63.38% 0.225 318)
XYZxyz(37.9869, 22.1819, 72.7871)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FE0 #6FE04F
analogous
#784FE0 #C04FE0 #E04FB7
triadic
#C04FE0 #E0C04F #4FE0C0
tetradic
#C04FE0 #E0784F #6FE04F #4FB7E0
square
#C04FE0 #E0784F #6FE04F #4FB7E0
split-complementary
#C04FE0 #B7E04F #4FE078
monochromatic
#7E1B9A #A824CE #C04FE0 #D383E9 #E5B7F2

Accessibility & contrast

On white

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

On black

5.44
#C04FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FE0
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FE0#FFFFFF#000000##000000
##C04FE01.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#197AE4
Deuteranopia (green-blind)
#5585DC
Tritanopia (blue-blind)
#BF6991
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c04fe0;
/* rgb */ color: rgb(192, 79, 224);
/* oklch */ color: oklch(63.4% 0.225 318.0);
Tailwind
colors: {
  custom: {
    50: '#d788ea',
    500: '#c04fe0',
    950: '#000000',
  },
}
SCSS
$custom: #c04fe0;
$custom-light: #d788ea;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fe0",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 286.759,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63377,
    "c": 0.22529,
    "h": 318
  },
  "luminance": 0.2218
}

Semantic roles & 50–950 ramp

primary
#C04FE0
secondary
#B6E2A9
accent
#ED3B62
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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