#CB5DC9#CB5DC9

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

Color values

HEX#CB5DC9
RGBrgb(203, 93, 201)
HSLhsl(301, 51%, 58%)
HSVhsv(301, 54%, 80%)
CMYKcmyk(0%, 54.2%, 1%, 20.4%)
CIE-LABlab(56.83, 57.91, -36.53)
CIE-LCHlch(56.83, 68.47, 327.76°)
OKLaboklab(65.2% 0.1618 -0.1004)
OKLCHoklch(65.2% 0.19 328.2)
XYZxyz(39.0850, 24.7446, 57.9645)
Luminance0.2474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DC9 #5DCB5F
analogous
#965DCB #CB5DC9 #CB5D92
triadic
#CB5DC9 #C9CB5D #5DC9CB
tetradic
#CB5DC9 #CB965D #5DCB5F #5D92CB
square
#CB5DC9 #CB965D #5DCB5F #5D92CB
split-complementary
#CB5DC9 #92CB5D #5DCB96
monochromatic
#832A82 #B239B0 #CB5DC9 #DA8BD8 #E9BAE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5DC9#FFFFFF#000000##000000
##CB5DC91.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)
#537FCC
Deuteranopia (green-blind)
#768EC6
Tritanopia (blue-blind)
#D1698A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb5dc9;
/* rgb */ color: rgb(203, 93, 201);
/* oklch */ color: oklch(65.2% 0.190 328.2);
Tailwind
colors: {
  custom: {
    50: '#dd90da',
    500: '#cb5dc9',
    950: '#000000',
  },
}
SCSS
$custom: #cb5dc9;
$custom-light: #dd90da;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5dc9",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 201
  },
  "hsl": {
    "h": 301.091,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65201,
    "c": 0.19042,
    "h": 328.2
  },
  "luminance": 0.24742
}

Semantic roles & 50–950 ramp

primary
#CB5DC9
secondary
#ACD8AD
accent
#DB504D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D15
muted
#837E83

Preview Lab

Preview with #CB5DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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