#C04CD1#C04CD1

#C04CD1 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.2% C 0.216 H 322.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#C04CD1
RGBrgb(192, 76, 209)
HSLhsl(292, 59%, 56%)
HSVhsv(292, 64%, 82%)
CMYKcmyk(8.1%, 63.6%, 0%, 18%)
CIE-LABlab(52.93, 64.09, -47.35)
CIE-LCHlch(52.93, 79.68, 323.54°)
OKLaboklab(62.18% 0.1709 -0.1318)
OKLCHoklch(62.18% 0.216 322.4)
XYZxyz(35.8301, 20.9807, 62.4716)
Luminance0.2098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CD1 #5DD14C
analogous
#7D4CD1 #C04CD1 #D14C9F
triadic
#C04CD1 #D1C04C #4CD1C0
tetradic
#C04CD1 #D17D4C #5DD14C #4C9FD1
square
#C04CD1 #D17D4C #5DD14C #4C9FD1
split-complementary
#C04CD1 #9FD14C #4CD17D
monochromatic
#752181 #A12EB2 #C04CD1 #D17DDE #E2ADEA

Accessibility & contrast

On white

4.04
#C04CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#C04CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CD1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CD1#FFFFFF#000000##000000
##C04CD11.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D76D5
Deuteranopia (green-blind)
#5D83CE
Tritanopia (blue-blind)
#C26188
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c04cd1;
/* rgb */ color: rgb(192, 76, 209);
/* oklch */ color: oklch(62.2% 0.216 322.4);
Tailwind
colors: {
  custom: {
    50: '#d686e0',
    500: '#c04cd1',
    950: '#000000',
  },
}
SCSS
$custom: #c04cd1;
$custom-light: #d686e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cd1",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 292.331,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62175,
    "c": 0.21583,
    "h": 322.4
  },
  "luminance": 0.20979
}

Semantic roles & 50–950 ramp

primary
#C04CD1
secondary
#A8D8A1
accent
#E2465A
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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