#CD5CE7#CD5CE7

#CD5CE7 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.9% C 0.220 H 319.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CD5CE7
RGBrgb(205, 92, 231)
HSLhsl(289, 74%, 63%)
HSVhsv(289, 60%, 91%)
CMYKcmyk(11.3%, 60.2%, 0%, 9.4%)
CIE-LABlab(58.42, 64.33, -50.95)
CIE-LCHlch(58.42, 82.06, 321.62°)
OKLaboklab(66.9% 0.1677 -0.1421)
OKLCHoklch(66.9% 0.22 319.7)
XYZxyz(43.4260, 26.4049, 78.3950)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CE7 #76E75C
analogous
#875CE7 #CD5CE7 #E75CBB
triadic
#CD5CE7 #E7CD5C #5CE7CD
tetradic
#CD5CE7 #E7875C #76E75C #5CBBE7
square
#CD5CE7 #E7875C #76E75C #5CBBE7
split-complementary
#CD5CE7 #BBE75C #5CE787
monochromatic
#931AAF #BD27DF #CD5CE7 #DD91EF #EEC7F7

Accessibility & contrast

On white

3.34
#CD5CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CD5CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CE7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CE7#FFFFFF#000000##000000
##CD5CE71.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A85EB
Deuteranopia (green-blind)
#6690E3
Tritanopia (blue-blind)
#CE7299
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5ce7;
/* rgb */ color: rgb(205, 92, 231);
/* oklch */ color: oklch(66.9% 0.220 319.7);
Tailwind
colors: {
  custom: {
    50: '#df90ef',
    500: '#cd5ce7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ce7;
$custom-light: #df90ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ce7",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 288.777,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66904,
    "c": 0.21978,
    "h": 319.7
  },
  "luminance": 0.26403
}

Semantic roles & 50–950 ramp

primary
#CD5CE7
secondary
#C0E8B7
accent
#D60F34
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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