#CB5BC7#CB5BC7

#CB5BC7 is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.9% C 0.192 H 328.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CB5BC7
RGBrgb(203, 91, 199)
HSLhsl(302, 52%, 58%)
HSVhsv(302, 55%, 80%)
CMYKcmyk(0%, 55.2%, 2%, 20.4%)
CIE-LABlab(56.39, 58.49, -36.07)
CIE-LCHlch(56.39, 68.72, 328.34°)
OKLaboklab(64.85% 0.1642 -0.099)
OKLCHoklch(64.85% 0.192 328.9)
XYZxyz(38.6780, 24.3046, 56.6758)
Luminance0.2430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BC7 #5BCB5F
analogous
#975BCB #CB5BC7 #CB5B8F
triadic
#CB5BC7 #C7CB5B #5BC7CB
tetradic
#CB5BC7 #CB975B #5BCB5F #5B8FCB
square
#CB5BC7 #CB975B #5BCB5F #5B8FCB
split-complementary
#CB5BC7 #8FCB5B #5BCB97
monochromatic
#82297F #B138AC #CB5BC7 #DA89D7 #E8B8E7

Accessibility & contrast

On white

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

On black

5.86
#CB5BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BC7
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BC7#FFFFFF#000000##000000
##CB5BC71.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECA
Deuteranopia (green-blind)
#758DC4
Tritanopia (blue-blind)
#D16789
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5bc7;
/* rgb */ color: rgb(203, 91, 199);
/* oklch */ color: oklch(64.9% 0.192 328.9);
Tailwind
colors: {
  custom: {
    50: '#dd8fd8',
    500: '#cb5bc7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5bc7;
$custom-light: #dd8fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5bc7",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 302.143,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64852,
    "c": 0.19173,
    "h": 328.9
  },
  "luminance": 0.24302
}

Semantic roles & 50–950 ramp

primary
#CB5BC7
secondary
#AAD7AC
accent
#DB524C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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