#CD5EE7#CD5EE7

#CD5EE7 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.1% C 0.217 H 319.6°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CD5EE7
RGBrgb(205, 94, 231)
HSLhsl(289, 74%, 64%)
HSVhsv(289, 59%, 91%)
CMYKcmyk(11.3%, 59.3%, 0%, 9.4%)
CIE-LABlab(58.75, 63.43, -50.42)
CIE-LCHlch(58.75, 81.03, 321.52°)
OKLaboklab(67.14% 0.1653 -0.1406)
OKLCHoklch(67.14% 0.217 319.6)
XYZxyz(43.6015, 26.7560, 78.4535)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EE7 #78E75E
analogous
#885EE7 #CD5EE7 #E75EBC
triadic
#CD5EE7 #E7CD5E #5EE7CD
tetradic
#CD5EE7 #E7885E #78E75E #5EBCE7
square
#CD5EE7 #E7885E #78E75E #5EBCE7
split-complementary
#CD5EE7 #BCE75E #5EE788
monochromatic
#941AB0 #BC29DF #CD5EE7 #DE93EF #EEC9F7

Accessibility & contrast

On white

3.31
#CD5EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CD5EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EE7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EE7#FFFFFF#000000##000000
##CD5EE71.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D86EB
Deuteranopia (green-blind)
#6891E3
Tritanopia (blue-blind)
#CE749A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5ee7;
/* rgb */ color: rgb(205, 94, 231);
/* oklch */ color: oklch(67.1% 0.217 319.6);
Tailwind
colors: {
  custom: {
    50: '#df91ef',
    500: '#cd5ee7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ee7;
$custom-light: #df91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ee7",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 288.613,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67143,
    "c": 0.21698,
    "h": 319.6
  },
  "luminance": 0.26754
}

Semantic roles & 50–950 ramp

primary
#CD5EE7
secondary
#C1E9B8
accent
#D60F35
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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