#CD5FED#CD5FED

#CD5FED is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.6% C 0.221 H 318.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#CD5FED
RGBrgb(205, 95, 237)
HSLhsl(286, 80%, 65%)
HSVhsv(286, 60%, 93%)
CMYKcmyk(13.5%, 59.9%, 0%, 7.1%)
CIE-LABlab(59.23, 64.13, -53.00)
CIE-LCHlch(59.23, 83.20, 320.42°)
OKLaboklab(67.6% 0.1643 -0.1481)
OKLCHoklch(67.6% 0.221 318)
XYZxyz(44.5530, 27.2798, 83.0230)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FED #7FED5F
analogous
#865FED #CD5FED #ED5FC6
triadic
#CD5FED #EDCD5F #5FEDCD
tetradic
#CD5FED #ED865F #7FED5F #5FC6ED
square
#CD5FED #ED865F #7FED5F #5FC6ED
split-complementary
#CD5FED #C6ED5F #5FED86
monochromatic
#9715BC #BC28E7 #CD5FED #DE96F3 #EFCDF9

Accessibility & contrast

On white

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

On black

6.46
#CD5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FED
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FED#FFFFFF#000000##000000
##CD5FED1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F1
Deuteranopia (green-blind)
#6592E9
Tritanopia (blue-blind)
#CC779D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd5fed;
/* rgb */ color: rgb(205, 95, 237);
/* oklch */ color: oklch(67.6% 0.221 318.0);
Tailwind
colors: {
  custom: {
    50: '#df92f3',
    500: '#cd5fed',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fed;
$custom-light: #df92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fed",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 286.479,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67599,
    "c": 0.22117,
    "h": 318
  },
  "luminance": 0.27278
}

Semantic roles & 50–950 ramp

primary
#CD5FED
secondary
#C7ECBC
accent
#DC0939
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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