#CD5BD4#CD5BD4

#CD5BD4 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 65.8% C 0.204 H 325.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#CD5BD4
RGBrgb(205, 91, 212)
HSLhsl(297, 58%, 59%)
HSVhsv(297, 57%, 83%)
CMYKcmyk(3.3%, 57.1%, 0%, 16.9%)
CIE-LABlab(57.29, 61.29, -42.04)
CIE-LCHlch(57.29, 74.32, 325.55°)
OKLaboklab(65.77% 0.1678 -0.1162)
OKLCHoklch(65.77% 0.204 325.3)
XYZxyz(40.8007, 25.2171, 64.9929)
Luminance0.2521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BD4 #62D45B
analogous
#915BD4 #CD5BD4 #D45B9F
triadic
#CD5BD4 #D4CD5B #5BD4CD
tetradic
#CD5BD4 #D4915B #62D45B #5B9FD4
square
#CD5BD4 #D4915B #62D45B #5B9FD4
split-complementary
#CD5BD4 #9FD45B #5BD491
monochromatic
#89268F #B732C0 #CD5BD4 #DC8BE1 #EBBCED

Accessibility & contrast

On white

3.48
#CD5BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#CD5BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BD4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BD4#FFFFFF#000000##000000
##CD5BD41.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A80D8
Deuteranopia (green-blind)
#718ED1
Tritanopia (blue-blind)
#D16B8F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd5bd4;
/* rgb */ color: rgb(205, 91, 212);
/* oklch */ color: oklch(65.8% 0.204 325.3);
Tailwind
colors: {
  custom: {
    50: '#df8fe1',
    500: '#cd5bd4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5bd4;
$custom-light: #df8fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5bd4",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 212
  },
  "hsl": {
    "h": 296.529,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65765,
    "c": 0.20411,
    "h": 325.3
  },
  "luminance": 0.25215
}

Semantic roles & 50–950 ramp

primary
#CD5BD4
secondary
#B1DDAE
accent
#E2464F
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CD5BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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