#C04CDB#C04CDB

#C04CDB is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.8% C 0.225 H 319.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#C04CDB
RGBrgb(192, 76, 219)
HSLhsl(289, 67%, 58%)
HSVhsv(289, 65%, 86%)
CMYKcmyk(12.3%, 65.3%, 0%, 14.1%)
CIE-LABlab(53.48, 65.94, -52.15)
CIE-LCHlch(53.48, 84.07, 321.66°)
OKLaboklab(62.76% 0.1709 -0.1458)
OKLCHoklch(62.76% 0.225 319.5)
XYZxyz(37.1072, 21.4915, 69.1978)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CDB #67DB4C
analogous
#784CDB #C04CDB #DB4CAF
triadic
#C04CDB #DBC04C #4CDBC0
tetradic
#C04CDB #DB784C #67DB4C #4CAFDB
square
#C04CDB #DB784C #67DB4C #4CAFDB
split-complementary
#C04CDB #AFDB4C #4CDB78
monochromatic
#7A1D90 #A527C3 #C04CDB #D27FE5 #E4B2EF

Accessibility & contrast

On white

3.96
#C04CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#C04CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CDB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CDB#FFFFFF#000000##000000
##C04CDB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B78DF
Deuteranopia (green-blind)
#5784D8
Tritanopia (blue-blind)
#C0658D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c04cdb;
/* rgb */ color: rgb(192, 76, 219);
/* oklch */ color: oklch(62.8% 0.225 319.5);
Tailwind
colors: {
  custom: {
    50: '#d786e7',
    500: '#c04cdb',
    950: '#000000',
  },
}
SCSS
$custom: #c04cdb;
$custom-light: #d786e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cdb",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 288.671,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62755,
    "c": 0.22466,
    "h": 319.5
  },
  "luminance": 0.2149
}

Semantic roles & 50–950 ramp

primary
#C04CDB
secondary
#B0DEA5
accent
#E93E5F
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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