#C04CE2#C04CE2

#C04CE2 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.2% C 0.231 H 317.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C04CE2
RGBrgb(192, 76, 226)
HSLhsl(286, 72%, 59%)
HSVhsv(286, 66%, 89%)
CMYKcmyk(15%, 66.4%, 0%, 11.4%)
CIE-LABlab(53.89, 67.26, -55.47)
CIE-LCHlch(53.89, 87.18, 320.49°)
OKLaboklab(63.17% 0.1707 -0.1555)
OKLCHoklch(63.17% 0.231 317.7)
XYZxyz(38.0482, 21.8679, 74.1535)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CE2 #6EE24C
analogous
#754CE2 #C04CE2 #E24CB9
triadic
#C04CE2 #E2C04C #4CE2C0
tetradic
#C04CE2 #E2754C #6EE24C #4CB9E2
square
#C04CE2 #E2754C #6EE24C #4CB9E2
split-complementary
#C04CE2 #B9E24C #4CE275
monochromatic
#7D199B #A822CF #C04CE2 #D381EB #E5B5F3

Accessibility & contrast

On white

3.91
#C04CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#C04CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CE2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CE2#FFFFFF#000000##000000
##C04CE21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0279E6
Deuteranopia (green-blind)
#5184DE
Tritanopia (blue-blind)
#BF6891
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c04ce2;
/* rgb */ color: rgb(192, 76, 226);
/* oklch */ color: oklch(63.2% 0.231 317.7);
Tailwind
colors: {
  custom: {
    50: '#d786ec',
    500: '#c04ce2',
    950: '#000000',
  },
}
SCSS
$custom: #c04ce2;
$custom-light: #d786ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ce2",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 286.4,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63174,
    "c": 0.23091,
    "h": 317.7
  },
  "luminance": 0.21866
}

Semantic roles & 50–950 ramp

primary
#C04CE2
secondary
#B5E2A8
accent
#EF3962
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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