#C04FE5#C04FE5

#C04FE5 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.7% C 0.230 H 316.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#C04FE5
RGBrgb(192, 79, 229)
HSLhsl(285, 74%, 60%)
HSVhsv(285, 66%, 90%)
CMYKcmyk(16.2%, 65.5%, 0%, 10.2%)
CIE-LABlab(54.51, 66.59, -56.16)
CIE-LCHlch(54.51, 87.12, 319.86°)
OKLaboklab(63.68% 0.1673 -0.1576)
OKLCHoklch(63.68% 0.23 316.7)
XYZxyz(38.6750, 22.4571, 76.4110)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FE5 #74E54F
analogous
#754FE5 #C04FE5 #E54FBF
triadic
#C04FE5 #E5C04F #4FE5C0
tetradic
#C04FE5 #E5754F #74E54F #4FBFE5
square
#C04FE5 #E5754F #74E54F #4FBFE5
split-complementary
#C04FE5 #BFE54F #4FE575
monochromatic
#8018A2 #AA20D7 #C04FE5 #D384ED #E6BAF5

Accessibility & contrast

On white

3.82
#C04FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#C04FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FE5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FE5#FFFFFF#000000##000000
##C04FE51.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#077BE9
Deuteranopia (green-blind)
#5186E1
Tritanopia (blue-blind)
#BE6B94
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c04fe5;
/* rgb */ color: rgb(192, 79, 229);
/* oklch */ color: oklch(63.7% 0.230 316.7);
Tailwind
colors: {
  custom: {
    50: '#d788ee',
    500: '#c04fe5',
    950: '#000000',
  },
}
SCSS
$custom: #c04fe5;
$custom-light: #d788ee;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fe5",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 285.2,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63678,
    "c": 0.22985,
    "h": 316.7
  },
  "luminance": 0.22456
}

Semantic roles & 50–950 ramp

primary
#C04FE5
secondary
#B9E5AB
accent
#D60F40
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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