#CD5BCA#CD5BCA

#CD5BCA is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.3% C 0.195 H 328.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#CD5BCA
RGBrgb(205, 91, 202)
HSLhsl(302, 53%, 58%)
HSVhsv(302, 56%, 80%)
CMYKcmyk(0%, 55.6%, 1.5%, 19.6%)
CIE-LABlab(56.81, 59.54, -37.11)
CIE-LCHlch(56.81, 70.16, 328.07°)
OKLaboklab(65.26% 0.1668 -0.102)
OKLCHoklch(65.26% 0.195 328.6)
XYZxyz(39.5781, 24.7280, 58.5540)
Luminance0.2473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BCA #5BCD5E
analogous
#975BCD #CD5BCA #CD5B91
triadic
#CD5BCA #CACD5B #5BCACD
tetradic
#CD5BCA #CD975B #5BCD5E #5B91CD
square
#CD5BCA #CD975B #5BCD5E #5B91CD
split-complementary
#CD5BCA #91CD5B #5BCD97
monochromatic
#852983 #B437B1 #CD5BCA #DB8AD9 #EAB9E8

Accessibility & contrast

On white

3.53
#CD5BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#CD5BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BCA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BCA#FFFFFF#000000##000000
##CD5BCA1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCE
Deuteranopia (green-blind)
#768EC7
Tritanopia (blue-blind)
#D3678A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5bca;
/* rgb */ color: rgb(205, 91, 202);
/* oklch */ color: oklch(65.3% 0.195 328.6);
Tailwind
colors: {
  custom: {
    50: '#df8fda',
    500: '#cd5bca',
    950: '#000000',
  },
}
SCSS
$custom: #cd5bca;
$custom-light: #df8fda;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5bca",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 301.579,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65261,
    "c": 0.19546,
    "h": 328.6
  },
  "luminance": 0.24726
}

Semantic roles & 50–950 ramp

primary
#CD5BCA
secondary
#ABD9AC
accent
#DD4F4B
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CD5BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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