#C04CD6#C04CD6

#C04CD6 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.5% C 0.220 H 320.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#C04CD6
RGBrgb(192, 76, 214)
HSLhsl(290, 63%, 57%)
HSVhsv(290, 64%, 84%)
CMYKcmyk(10.3%, 64.5%, 0%, 16.1%)
CIE-LABlab(53.20, 65.01, -49.76)
CIE-LCHlch(53.20, 81.87, 322.57°)
OKLaboklab(62.46% 0.1709 -0.1389)
OKLCHoklch(62.46% 0.22 320.9)
XYZxyz(36.4589, 21.2322, 65.7831)
Luminance0.2123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CD6 #62D64C
analogous
#7B4CD6 #C04CD6 #D64CA7
triadic
#C04CD6 #D6C04C #4CD6C0
tetradic
#C04CD6 #D67B4C #62D64C #4CA7D6
square
#C04CD6 #D67B4C #62D64C #4CA7D6
split-complementary
#C04CD6 #A7D64C #4CD67B
monochromatic
#781F88 #A32BBA #C04CD6 #D27EE1 #E3B0ED

Accessibility & contrast

On white

4.00
#C04CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#C04CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CD6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CD6#FFFFFF#000000##000000
##C04CD61.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2577DA
Deuteranopia (green-blind)
#5A83D3
Tritanopia (blue-blind)
#C1638B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c04cd6;
/* rgb */ color: rgb(192, 76, 214);
/* oklch */ color: oklch(62.5% 0.220 320.9);
Tailwind
colors: {
  custom: {
    50: '#d686e3',
    500: '#c04cd6',
    950: '#000000',
  },
}
SCSS
$custom: #c04cd6;
$custom-light: #d686e3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cd6",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 290.435,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62462,
    "c": 0.22023,
    "h": 320.9
  },
  "luminance": 0.2123
}

Semantic roles & 50–950 ramp

primary
#C04CD6
secondary
#ACDBA3
accent
#E6425C
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C04CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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