#CD5BC2#CD5BC2

#CD5BC2 is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.9% C 0.189 H 331.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#CD5BC2
RGBrgb(205, 91, 194)
HSLhsl(306, 53%, 58%)
HSVhsv(306, 56%, 80%)
CMYKcmyk(0%, 55.6%, 5.4%, 19.6%)
CIE-LABlab(56.45, 58.18, -33.10)
CIE-LCHlch(56.45, 66.94, 330.36°)
OKLaboklab(64.87% 0.1657 -0.0905)
OKLCHoklch(64.87% 0.189 331.4)
XYZxyz(38.6553, 24.3590, 53.6942)
Luminance0.2436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BC2 #5BCD66
analogous
#9F5BCD #CD5BC2 #CD5B89
triadic
#CD5BC2 #C2CD5B #5BC2CD
tetradic
#CD5BC2 #CD9F5B #5BCD66 #5B89CD
square
#CD5BC2 #CD9F5B #5BCD66 #5B89CD
split-complementary
#CD5BC2 #89CD5B #5BCD9F
monochromatic
#85297C #B437A8 #CD5BC2 #DB8AD3 #EAB9E5

Accessibility & contrast

On white

3.58
#CD5BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#CD5BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BC2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BC2#FFFFFF#000000##000000
##CD5BC21.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#567DC5
Deuteranopia (green-blind)
#798DBF
Tritanopia (blue-blind)
#D56586
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd5bc2;
/* rgb */ color: rgb(205, 91, 194);
/* oklch */ color: oklch(64.9% 0.189 331.4);
Tailwind
colors: {
  custom: {
    50: '#df8fd4',
    500: '#cd5bc2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5bc2;
$custom-light: #df8fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5bc2",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 305.789,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64874,
    "c": 0.18879,
    "h": 331.4
  },
  "luminance": 0.24356
}

Semantic roles & 50–950 ramp

primary
#CD5BC2
secondary
#ABD9B0
accent
#DD594B
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CD5BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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