#CD5FEE#CD5FEE

#CD5FEE is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.7% C 0.222 H 317.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#CD5FEE
RGBrgb(205, 95, 238)
HSLhsl(286, 81%, 65%)
HSVhsv(286, 60%, 93%)
CMYKcmyk(13.9%, 60.1%, 0%, 6.7%)
CIE-LABlab(59.29, 64.32, -53.48)
CIE-LCHlch(59.29, 83.65, 320.26°)
OKLaboklab(67.66% 0.1643 -0.1495)
OKLCHoklch(67.66% 0.222 317.7)
XYZxyz(44.6995, 27.3384, 83.7946)
Luminance0.2734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FEE #80EE5F
analogous
#855FEE #CD5FEE #EE5FC7
triadic
#CD5FEE #EECD5F #5FEECD
tetradic
#CD5FEE #EE855F #80EE5F #5FC7EE
square
#CD5FEE #EE855F #80EE5F #5FC7EE
split-complementary
#CD5FEE #C7EE5F #5FEE85
monochromatic
#9714BE #BC28E8 #CD5FEE #DE96F4 #F0CEFA

Accessibility & contrast

On white

3.25
#CD5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#CD5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FEE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FEE#FFFFFF#000000##000000
##CD5FEE1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F2
Deuteranopia (green-blind)
#6492EA
Tritanopia (blue-blind)
#CC779E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd5fee;
/* rgb */ color: rgb(205, 95, 238);
/* oklch */ color: oklch(67.7% 0.222 317.7);
Tailwind
colors: {
  custom: {
    50: '#df92f4',
    500: '#cd5fee',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fee;
$custom-light: #df92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fee",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 286.154,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67655,
    "c": 0.22211,
    "h": 317.7
  },
  "luminance": 0.27337
}

Semantic roles & 50–950 ramp

primary
#CD5FEE
secondary
#C7ECBC
accent
#DD0839
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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