#C04CD9#C04CD9

#C04CD9 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.6% C 0.223 H 320.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#C04CD9
RGBrgb(192, 76, 217)
HSLhsl(289, 65%, 57%)
HSVhsv(289, 65%, 85%)
CMYKcmyk(11.5%, 65%, 0%, 14.9%)
CIE-LABlab(53.37, 65.56, -51.20)
CIE-LCHlch(53.37, 83.19, 322.01°)
OKLaboklab(62.64% 0.1709 -0.143)
OKLCHoklch(62.64% 0.223 320.1)
XYZxyz(36.8455, 21.3869, 67.8195)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CD9 #65D94C
analogous
#7A4CD9 #C04CD9 #D94CAB
triadic
#C04CD9 #D9C04C #4CD9C0
tetradic
#C04CD9 #D97A4C #65D94C #4CABD9
square
#C04CD9 #D97A4C #65D94C #4CABD9
split-complementary
#C04CD9 #ABD94C #4CD97A
monochromatic
#791E8D #A529BF #C04CD9 #D27EE4 #E4B1EE

Accessibility & contrast

On white

3.98
#C04CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#C04CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CD9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CD9#FFFFFF#000000##000000
##C04CD91.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2077DD
Deuteranopia (green-blind)
#5884D6
Tritanopia (blue-blind)
#C1648C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c04cd9;
/* rgb */ color: rgb(192, 76, 217);
/* oklch */ color: oklch(62.6% 0.223 320.1);
Tailwind
colors: {
  custom: {
    50: '#d786e5',
    500: '#c04cd9',
    950: '#000000',
  },
}
SCSS
$custom: #c04cd9;
$custom-light: #d786e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cd9",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 289.362,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62637,
    "c": 0.22288,
    "h": 320.1
  },
  "luminance": 0.21385
}

Semantic roles & 50–950 ramp

primary
#C04CD9
secondary
#AEDDA4
accent
#E8405E
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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