#CD5CD4#CD5CD4

#CD5CD4 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 65.9% C 0.203 H 325.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CD5CD4
RGBrgb(205, 92, 212)
HSLhsl(297, 58%, 60%)
HSVhsv(297, 57%, 83%)
CMYKcmyk(3.3%, 56.6%, 0%, 16.9%)
CIE-LABlab(57.45, 60.84, -41.78)
CIE-LCHlch(57.45, 73.80, 325.52°)
OKLaboklab(65.89% 0.1665 -0.1155)
OKLCHoklch(65.89% 0.203 325.3)
XYZxyz(40.8867, 25.3892, 65.0216)
Luminance0.2539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CD4 #63D45C
analogous
#915CD4 #CD5CD4 #D45C9F
triadic
#CD5CD4 #D4CD5C #5CD4CD
tetradic
#CD5CD4 #D4915C #63D45C #5C9FD4
square
#CD5CD4 #D4915C #63D45C #5C9FD4
split-complementary
#CD5CD4 #9FD45C #5CD491
monochromatic
#8A2690 #B833C0 #CD5CD4 #DC8CE1 #EBBDEE

Accessibility & contrast

On white

3.46
#CD5CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CD5CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CD4
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CD4#FFFFFF#000000##000000
##CD5CD41.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B81D8
Deuteranopia (green-blind)
#718FD1
Tritanopia (blue-blind)
#D16C90
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5cd4;
/* rgb */ color: rgb(205, 92, 212);
/* oklch */ color: oklch(65.9% 0.203 325.3);
Tailwind
colors: {
  custom: {
    50: '#df90e1',
    500: '#cd5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cd4;
$custom-light: #df90e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cd4",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 296.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65886,
    "c": 0.20265,
    "h": 325.3
  },
  "luminance": 0.25387
}

Semantic roles & 50–950 ramp

primary
#CD5CD4
secondary
#B1DDAF
accent
#E1464F
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CD5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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