#CD5EEB#CD5EEB

#CD5EEB is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.4% C 0.221 H 318.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#CD5EEB
RGBrgb(205, 94, 235)
HSLhsl(287, 78%, 65%)
HSVhsv(287, 60%, 92%)
CMYKcmyk(12.8%, 60%, 0%, 7.8%)
CIE-LABlab(58.96, 64.19, -52.32)
CIE-LCHlch(58.96, 82.81, 320.82°)
OKLaboklab(67.37% 0.1654 -0.1461)
OKLCHoklch(67.37% 0.221 318.5)
XYZxyz(44.1729, 26.9845, 81.4629)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EEB #7CEB5E
analogous
#875EEB #CD5EEB #EB5EC3
triadic
#CD5EEB #EBCD5E #5EEBCD
tetradic
#CD5EEB #EB875E #7CEB5E #5EC3EB
square
#CD5EEB #EB875E #7CEB5E #5EC3EB
split-complementary
#CD5EEB #C3EB5E #5EEB87
monochromatic
#9617B8 #BC28E4 #CD5EEB #DE94F2 #EFCBF9

Accessibility & contrast

On white

3.28
#CD5EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#CD5EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EEB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EEB#FFFFFF#000000##000000
##CD5EEB1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987EF
Deuteranopia (green-blind)
#6592E7
Tritanopia (blue-blind)
#CD759C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5eeb;
/* rgb */ color: rgb(205, 94, 235);
/* oklch */ color: oklch(67.4% 0.221 318.5);
Tailwind
colors: {
  custom: {
    50: '#df92f2',
    500: '#cd5eeb',
    950: '#000000',
  },
}
SCSS
$custom: #cd5eeb;
$custom-light: #df92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5eeb",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 287.234,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67366,
    "c": 0.22069,
    "h": 318.5
  },
  "luminance": 0.26983
}

Semantic roles & 50–950 ramp

primary
#CD5EEB
secondary
#C4EBBA
accent
#DA0B37
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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