#CD5DF9#CD5DF9

#CD5DF9 is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.1% C 0.235 H 315.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#CD5DF9
RGBrgb(205, 93, 249)
HSLhsl(283, 93%, 67%)
HSVhsv(283, 63%, 98%)
CMYKcmyk(17.7%, 62.7%, 0%, 2.4%)
CIE-LABlab(59.57, 67.36, -59.13)
CIE-LCHlch(59.57, 89.63, 318.72°)
OKLaboklab(68.06% 0.1666 -0.166)
OKLCHoklch(68.06% 0.235 315.1)
XYZxyz(46.1873, 27.6489, 92.5080)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DF9 #89F95D
analogous
#7F5DF9 #CD5DF9 #F95DD7
triadic
#CD5DF9 #F9CD5D #5DF9CD
tetradic
#CD5DF9 #F97F5D #89F95D #5DD7F9
square
#CD5DF9 #F97F5D #89F95D #5DD7F9
split-complementary
#CD5DF9 #D7F95D #5DF97F
monochromatic
#9A08D4 #BB22F7 #CD5DF9 #DF98FB #F1D3FD

Accessibility & contrast

On white

3.22
#CD5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#CD5DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DF9
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DF9#FFFFFF#000000##000000
##CD5DF91.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2089FE
Deuteranopia (green-blind)
#5A92F5
Tritanopia (blue-blind)
#CA7AA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd5df9;
/* rgb */ color: rgb(205, 93, 249);
/* oklch */ color: oklch(68.1% 0.235 315.1);
Tailwind
colors: {
  custom: {
    50: '#e091fc',
    500: '#cd5df9',
    950: '#000000',
  },
}
SCSS
$custom: #cd5df9;
$custom-light: #e091fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5df9",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 283.077,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68057,
    "c": 0.23518,
    "h": 315.1
  },
  "luminance": 0.27647
}

Semantic roles & 50–950 ramp

primary
#CD5DF9
secondary
#CEF2C0
accent
#E60041
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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