#CD5ED2#CD5ED2

#CD5ED2 is a light, vivid purple. Relative luminance 0.256; OKLCH L 66.0% C 0.198 H 325.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CD5ED2
RGBrgb(205, 94, 210)
HSLhsl(297, 56%, 60%)
HSVhsv(297, 55%, 82%)
CMYKcmyk(2.4%, 55.2%, 0%, 17.6%)
CIE-LABlab(57.69, 59.57, -40.27)
CIE-LCHlch(57.69, 71.90, 325.94°)
OKLaboklab(66.03% 0.1638 -0.1111)
OKLCHoklch(66.03% 0.198 325.8)
XYZxyz(40.8115, 25.6400, 63.7596)
Luminance0.2564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5ED2 #63D25E
analogous
#935ED2 #CD5ED2 #D25E9D
triadic
#CD5ED2 #D2CD5E #5ED2CD
tetradic
#CD5ED2 #D2935E #63D25E #5E9DD2
square
#CD5ED2 #D2935E #63D25E #5E9DD2
split-complementary
#CD5ED2 #9DD25E #5ED293
monochromatic
#8A288E #B835BE #CD5ED2 #DC8EDF #EBBEED

Accessibility & contrast

On white

3.43
#CD5ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#CD5ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5ED2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5ED2#FFFFFF#000000##000000
##CD5ED21.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D6
Deuteranopia (green-blind)
#7490CF
Tritanopia (blue-blind)
#D26D8F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5ed2;
/* rgb */ color: rgb(205, 94, 210);
/* oklch */ color: oklch(66.0% 0.198 325.8);
Tailwind
colors: {
  custom: {
    50: '#df91e0',
    500: '#cd5ed2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ed2;
$custom-light: #df91e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ed2",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 297.414,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66031,
    "c": 0.19793,
    "h": 325.8
  },
  "luminance": 0.25638
}

Semantic roles & 50–950 ramp

primary
#CD5ED2
secondary
#B1DCAF
accent
#E0484F
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CD5ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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