#CB5DC7#CB5DC7

#CB5DC7 is a light, vivid purple. Relative luminance 0.246; OKLCH L 65.1% C 0.189 H 328.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CB5DC7
RGBrgb(203, 93, 199)
HSLhsl(302, 51%, 58%)
HSVhsv(302, 54%, 80%)
CMYKcmyk(0%, 54.2%, 2%, 20.4%)
CIE-LABlab(56.73, 57.56, -35.53)
CIE-LCHlch(56.73, 67.65, 328.31°)
OKLaboklab(65.1% 0.1615 -0.0975)
OKLCHoklch(65.1% 0.189 328.9)
XYZxyz(38.8513, 24.6511, 56.7335)
Luminance0.2465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DC7 #5DCB61
analogous
#985DCB #CB5DC7 #CB5D90
triadic
#CB5DC7 #C7CB5D #5DC7CB
tetradic
#CB5DC7 #CB985D #5DCB61 #5D90CB
square
#CB5DC7 #CB985D #5DCB61 #5D90CB
split-complementary
#CB5DC7 #90CB5D #5DCB98
monochromatic
#832A80 #B239AD #CB5DC7 #DA8BD7 #E9BAE7

Accessibility & contrast

On white

3.54
#CB5DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#CB5DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DC7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DC7#FFFFFF#000000##000000
##CB5DC71.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCA
Deuteranopia (green-blind)
#778DC4
Tritanopia (blue-blind)
#D16889
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb5dc7;
/* rgb */ color: rgb(203, 93, 199);
/* oklch */ color: oklch(65.1% 0.189 328.9);
Tailwind
colors: {
  custom: {
    50: '#dd90d8',
    500: '#cb5dc7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5dc7;
$custom-light: #dd90d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5dc7",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 302.182,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65103,
    "c": 0.18869,
    "h": 328.9
  },
  "luminance": 0.24649
}

Semantic roles & 50–950 ramp

primary
#CB5DC7
secondary
#ACD8AE
accent
#DB524D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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