#CD4CD9#CD4CD9

#CD4CD9 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.4% C 0.229 H 324.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#CD4CD9
RGBrgb(205, 76, 217)
HSLhsl(295, 65%, 57%)
HSVhsv(295, 65%, 85%)
CMYKcmyk(5.5%, 65%, 0%, 14.9%)
CIE-LABlab(55.24, 68.53, -48.12)
CIE-LCHlch(55.24, 83.73, 324.93°)
OKLaboklab(64.36% 0.1857 -0.1337)
OKLCHoklch(64.36% 0.229 324.2)
XYZxyz(40.2846, 23.1601, 67.9807)
Luminance0.2316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4CD9 #58D94C
analogous
#874CD9 #CD4CD9 #D94C9E
triadic
#CD4CD9 #D9CD4C #4CD9CD
tetradic
#CD4CD9 #D9874C #58D94C #4C9ED9
square
#CD4CD9 #D9874C #58D94C #4C9ED9
split-complementary
#CD4CD9 #9ED94C #4CD987
monochromatic
#831E8D #B229BF #CD4CD9 #DB7EE4 #E9B1EE

Accessibility & contrast

On white

3.73
#CD4CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#CD4CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4CD9
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4CD9#FFFFFF#000000##000000
##CD4CD91.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7ADD
Deuteranopia (green-blind)
#648AD5
Tritanopia (blue-blind)
#D1628C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd4cd9;
/* rgb */ color: rgb(205, 76, 217);
/* oklch */ color: oklch(64.4% 0.229 324.2);
Tailwind
colors: {
  custom: {
    50: '#e087e5',
    500: '#cd4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #cd4cd9;
$custom-light: #e087e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4cd9",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 294.894,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6436,
    "c": 0.2288,
    "h": 324.2
  },
  "luminance": 0.23158
}

Semantic roles & 50–950 ramp

primary
#CD4CD9
secondary
#A9DDA4
accent
#E8404E
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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