#CD5FD9#CD5FD9

#CD5FD9 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.5% C 0.203 H 323.6°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#CD5FD9
RGBrgb(205, 95, 217)
HSLhsl(294, 62%, 61%)
HSVhsv(294, 56%, 85%)
CMYKcmyk(5.5%, 56.2%, 0%, 14.9%)
CIE-LABlab(58.20, 60.37, -43.42)
CIE-LCHlch(58.20, 74.36, 324.27°)
OKLaboklab(66.52% 0.1632 -0.1202)
OKLCHoklch(66.52% 0.203 323.6)
XYZxyz(41.7923, 26.1755, 68.4832)
Luminance0.2617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FD9 #6BD95F
analogous
#905FD9 #CD5FD9 #D95FA8
triadic
#CD5FD9 #D9CD5F #5FD9CD
tetradic
#CD5FD9 #D9905F #6BD95F #5FA8D9
square
#CD5FD9 #D9905F #6BD95F #5FA8D9
split-complementary
#CD5FD9 #A8D95F #5FD990
monochromatic
#8E2499 #BB30CB #CD5FD9 #DC90E5 #ECC2F0

Accessibility & contrast

On white

3.37
#CD5FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#CD5FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FD9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FD9#FFFFFF#000000##000000
##CD5FD91.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B83DD
Deuteranopia (green-blind)
#7190D6
Tritanopia (blue-blind)
#D07093
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5fd9;
/* rgb */ color: rgb(205, 95, 217);
/* oklch */ color: oklch(66.5% 0.203 323.6);
Tailwind
colors: {
  custom: {
    50: '#df92e5',
    500: '#cd5fd9',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fd9;
$custom-light: #df92e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fd9",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 294.098,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66515,
    "c": 0.2027,
    "h": 323.6
  },
  "luminance": 0.26173
}

Semantic roles & 50–950 ramp

primary
#CD5FD9
secondary
#B8E1B3
accent
#C91C2D
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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