#CB5DC8#CB5DC8

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

Color values

HEX#CB5DC8
RGBrgb(203, 93, 200)
HSLhsl(302, 51%, 58%)
HSVhsv(302, 54%, 80%)
CMYKcmyk(0%, 54.2%, 1.5%, 20.4%)
CIE-LABlab(56.78, 57.74, -36.03)
CIE-LCHlch(56.78, 68.06, 328.03°)
OKLaboklab(65.15% 0.1617 -0.099)
OKLCHoklch(65.15% 0.19 328.5)
XYZxyz(38.9678, 24.6977, 57.3470)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DC8 #5DCB60
analogous
#975DCB #CB5DC8 #CB5D91
triadic
#CB5DC8 #C8CB5D #5DC8CB
tetradic
#CB5DC8 #CB975D #5DCB60 #5D91CB
square
#CB5DC8 #CB975D #5DCB60 #5D91CB
split-complementary
#CB5DC8 #91CB5D #5DCB97
monochromatic
#832A81 #B239AE #CB5DC8 #DA8BD8 #E9BAE7

Accessibility & contrast

On white

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

On black

5.94
#CB5DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DC8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DC8#FFFFFF#000000##000000
##CB5DC81.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCB
Deuteranopia (green-blind)
#768DC5
Tritanopia (blue-blind)
#D1698A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb5dc8;
/* rgb */ color: rgb(203, 93, 200);
/* oklch */ color: oklch(65.2% 0.190 328.5);
Tailwind
colors: {
  custom: {
    50: '#dd90d9',
    500: '#cb5dc8',
    950: '#000000',
  },
}
SCSS
$custom: #cb5dc8;
$custom-light: #dd90d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5dc8",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 301.636,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65152,
    "c": 0.18955,
    "h": 328.5
  },
  "luminance": 0.24695
}

Semantic roles & 50–950 ramp

primary
#CB5DC8
secondary
#ACD8AD
accent
#DB514D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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