#CD5FEF#CD5FEF

#CD5FEF is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.7% C 0.223 H 317.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#CD5FEF
RGBrgb(205, 95, 239)
HSLhsl(286, 82%, 65%)
HSVhsv(286, 60%, 94%)
CMYKcmyk(14.2%, 60.3%, 0%, 6.3%)
CIE-LABlab(59.34, 64.51, -53.95)
CIE-LCHlch(59.34, 84.10, 320.10°)
OKLaboklab(67.71% 0.1643 -0.1508)
OKLCHoklch(67.71% 0.223 317.4)
XYZxyz(44.8468, 27.3973, 84.5705)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FEF #81EF5F
analogous
#855FEF #CD5FEF #EF5FC9
triadic
#CD5FEF #EFCD5F #5FEFCD
tetradic
#CD5FEF #EF855F #81EF5F #5FC9EF
square
#CD5FEF #EF855F #81EF5F #5FC9EF
split-complementary
#CD5FEF #C9EF5F #5FEF85
monochromatic
#9713C0 #BC27E9 #CD5FEF #DE97F5 #F0CEFA

Accessibility & contrast

On white

3.24
#CD5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#CD5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FEF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FEF#FFFFFF#000000##000000
##CD5FEF1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3688F3
Deuteranopia (green-blind)
#6392EB
Tritanopia (blue-blind)
#CC779F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd5fef;
/* rgb */ color: rgb(205, 95, 239);
/* oklch */ color: oklch(67.7% 0.223 317.4);
Tailwind
colors: {
  custom: {
    50: '#df92f5',
    500: '#cd5fef',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fef;
$custom-light: #df92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fef",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 285.833,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67712,
    "c": 0.22305,
    "h": 317.4
  },
  "luminance": 0.27396
}

Semantic roles & 50–950 ramp

primary
#CD5FEF
secondary
#C8EDBD
accent
#DE073A
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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