#CD5CEB#CD5CEB

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

Color values

HEX#CD5CEB
RGBrgb(205, 92, 235)
HSLhsl(287, 78%, 64%)
HSVhsv(287, 61%, 92%)
CMYKcmyk(12.8%, 60.9%, 0%, 7.8%)
CIE-LABlab(58.63, 65.09, -52.84)
CIE-LCHlch(58.63, 83.84, 320.93°)
OKLaboklab(67.13% 0.1678 -0.1476)
OKLCHoklch(67.13% 0.223 318.7)
XYZxyz(43.9974, 26.6334, 81.4044)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CEB #7AEB5C
analogous
#865CEB #CD5CEB #EB5CC1
triadic
#CD5CEB #EBCD5C #5CEBCD
tetradic
#CD5CEB #EB865C #7AEB5C #5CC1EB
square
#CD5CEB #EB865C #7AEB5C #5CC1EB
split-complementary
#CD5CEB #C1EB5C #5CEB86
monochromatic
#9516B6 #BC25E4 #CD5CEB #DE93F2 #EEC9F8

Accessibility & contrast

On white

3.32
#CD5CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#CD5CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CEB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CEB#FFFFFF#000000##000000
##CD5CEB1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586EF
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#CD749B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5ceb;
/* rgb */ color: rgb(205, 92, 235);
/* oklch */ color: oklch(67.1% 0.223 318.7);
Tailwind
colors: {
  custom: {
    50: '#e090f2',
    500: '#cd5ceb',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ceb;
$custom-light: #e090f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ceb",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 287.413,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67129,
    "c": 0.22346,
    "h": 318.7
  },
  "luminance": 0.26632
}

Semantic roles & 50–950 ramp

primary
#CD5CEB
secondary
#C3EAB8
accent
#DA0B37
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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