#CD5ED7#CD5ED7

#CD5ED7 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.3% C 0.202 H 324.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CD5ED7
RGBrgb(205, 94, 215)
HSLhsl(295, 60%, 61%)
HSVhsv(295, 56%, 84%)
CMYKcmyk(4.7%, 56.3%, 0%, 15.7%)
CIE-LABlab(57.94, 60.46, -42.71)
CIE-LCHlch(57.94, 74.03, 324.76°)
OKLaboklab(66.29% 0.1643 -0.1182)
OKLCHoklch(66.29% 0.202 324.3)
XYZxyz(41.4442, 25.8931, 67.0917)
Luminance0.2589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5ED7 #68D75E
analogous
#905ED7 #CD5ED7 #D75EA5
triadic
#CD5ED7 #D7CD5E #5ED7CD
tetradic
#CD5ED7 #D7905E #68D75E #5EA5D7
square
#CD5ED7 #D7905E #68D75E #5EA5D7
split-complementary
#CD5ED7 #A5D75E #5ED790
monochromatic
#8C2595 #BA31C6 #CD5ED7 #DC8FE3 #EBC0EF

Accessibility & contrast

On white

3.40
#CD5ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#CD5ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5ED7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5ED7#FFFFFF#000000##000000
##CD5ED71.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C83DB
Deuteranopia (green-blind)
#7190D4
Tritanopia (blue-blind)
#D16E92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5ed7;
/* rgb */ color: rgb(205, 94, 215);
/* oklch */ color: oklch(66.3% 0.202 324.3);
Tailwind
colors: {
  custom: {
    50: '#df91e4',
    500: '#cd5ed7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ed7;
$custom-light: #df91e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ed7",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 295.041,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66287,
    "c": 0.20237,
    "h": 324.3
  },
  "luminance": 0.25891
}

Semantic roles & 50–950 ramp

primary
#CD5ED7
secondary
#B5DFB1
accent
#C81E2C
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #CD5ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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