#CD5CD8#CD5CD8

#CD5CD8 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.1% C 0.206 H 324.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CD5CD8
RGBrgb(205, 92, 216)
HSLhsl(295, 61%, 60%)
HSVhsv(295, 57%, 85%)
CMYKcmyk(5.1%, 57.4%, 0%, 15.3%)
CIE-LABlab(57.65, 61.55, -43.73)
CIE-LCHlch(57.65, 75.51, 324.61°)
OKLaboklab(66.09% 0.1669 -0.1211)
OKLCHoklch(66.09% 0.206 324)
XYZxyz(41.3975, 25.5935, 67.7119)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CD8 #67D85C
analogous
#8F5CD8 #CD5CD8 #D85CA5
triadic
#CD5CD8 #D8CD5C #5CD8CD
tetradic
#CD5CD8 #D88F5C #67D85C #5CA5D8
square
#CD5CD8 #D88F5C #67D85C #5CA5D8
split-complementary
#CD5CD8 #A5D85C #5CD88F
monochromatic
#8C2496 #BA30C7 #CD5CD8 #DC8DE4 #EBBFF0

Accessibility & contrast

On white

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

On black

6.12
#CD5CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CD8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CD8#FFFFFF#000000##000000
##CD5CD81.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4882DC
Deuteranopia (green-blind)
#6F8FD5
Tritanopia (blue-blind)
#D16D92
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5cd8;
/* rgb */ color: rgb(205, 92, 216);
/* oklch */ color: oklch(66.1% 0.206 324.0);
Tailwind
colors: {
  custom: {
    50: '#df90e4',
    500: '#cd5cd8',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cd8;
$custom-light: #df90e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cd8",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 294.677,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66094,
    "c": 0.2062,
    "h": 324
  },
  "luminance": 0.25591
}

Semantic roles & 50–950 ramp

primary
#CD5CD8
secondary
#B4E0B0
accent
#C91C2C
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #CD5CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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