#C04CE6#C04CE6

#C04CE6 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.4% C 0.235 H 316.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C04CE6
RGBrgb(192, 76, 230)
HSLhsl(285, 75%, 60%)
HSVhsv(285, 67%, 90%)
CMYKcmyk(16.5%, 67%, 0%, 9.8%)
CIE-LABlab(54.12, 68.03, -57.35)
CIE-LCHlch(54.12, 88.98, 319.87°)
OKLaboklab(63.42% 0.1705 -0.161)
OKLCHoklch(63.42% 0.235 316.6)
XYZxyz(38.6035, 22.0900, 77.0779)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CE6 #72E64C
analogous
#734CE6 #C04CE6 #E64CBF
triadic
#C04CE6 #E6C04C #4CE6C0
tetradic
#C04CE6 #E6734C #72E64C #4CBFE6
square
#C04CE6 #E6734C #72E64C #4CBFE6
split-complementary
#C04CE6 #BFE64C #4CE673
monochromatic
#7F17A1 #A91ED7 #C04CE6 #D382ED #E6B7F5

Accessibility & contrast

On white

3.88
#C04CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#C04CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CE6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CE6#FFFFFF#000000##000000
##C04CE61.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#4E85E2
Tritanopia (blue-blind)
#BE6A93
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c04ce6;
/* rgb */ color: rgb(192, 76, 230);
/* oklch */ color: oklch(63.4% 0.235 316.6);
Tailwind
colors: {
  custom: {
    50: '#d786ef',
    500: '#c04ce6',
    950: '#000000',
  },
}
SCSS
$custom: #c04ce6;
$custom-light: #d786ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ce6",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 230
  },
  "hsl": {
    "h": 285.195,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.63419,
    "c": 0.23452,
    "h": 316.6
  },
  "luminance": 0.22089
}

Semantic roles & 50–950 ramp

primary
#C04CE6
secondary
#B8E5A9
accent
#F23664
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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