#CD5CEA#CD5CEA

#CD5CEA is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.1% C 0.223 H 318.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#CD5CEA
RGBrgb(205, 92, 234)
HSLhsl(288, 77%, 64%)
HSVhsv(288, 61%, 92%)
CMYKcmyk(12.4%, 60.7%, 0%, 8.2%)
CIE-LABlab(58.58, 64.90, -52.37)
CIE-LCHlch(58.58, 83.39, 321.10°)
OKLaboklab(67.07% 0.1678 -0.1462)
OKLCHoklch(67.07% 0.223 318.9)
XYZxyz(43.8533, 26.5758, 80.6456)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CEA #79EA5C
analogous
#865CEA #CD5CEA #EA5CC0
triadic
#CD5CEA #EACD5C #5CEACD
tetradic
#CD5CEA #EA865C #79EA5C #5CC0EA
square
#CD5CEA #EA865C #79EA5C #5CC0EA
split-complementary
#CD5CEA #C0EA5C #5CEA86
monochromatic
#9417B4 #BC26E3 #CD5CEA #DE92F1 #EEC8F8

Accessibility & contrast

On white

3.33
#CD5CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#CD5CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CEA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CEA#FFFFFF#000000##000000
##CD5CEA1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3685EE
Deuteranopia (green-blind)
#6591E6
Tritanopia (blue-blind)
#CD749B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5cea;
/* rgb */ color: rgb(205, 92, 234);
/* oklch */ color: oklch(67.1% 0.223 318.9);
Tailwind
colors: {
  custom: {
    50: '#df90f1',
    500: '#cd5cea',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cea;
$custom-light: #df90f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cea",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 287.746,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67073,
    "c": 0.22254,
    "h": 318.9
  },
  "luminance": 0.26574
}

Semantic roles & 50–950 ramp

primary
#CD5CEA
secondary
#C2EAB8
accent
#D90C36
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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