#CB5EC8#CB5EC8

#CB5EC8 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.3% C 0.188 H 328.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CB5EC8
RGBrgb(203, 94, 200)
HSLhsl(302, 51%, 58%)
HSVhsv(302, 54%, 80%)
CMYKcmyk(0%, 53.7%, 1.5%, 20.4%)
CIE-LABlab(56.95, 57.27, -35.76)
CIE-LCHlch(56.95, 67.52, 328.02°)
OKLaboklab(65.28% 0.1604 -0.0982)
OKLCHoklch(65.28% 0.188 328.5)
XYZxyz(39.0561, 24.8744, 57.3765)
Luminance0.2487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EC8 #5ECB61
analogous
#975ECB #CB5EC8 #CB5E91
triadic
#CB5EC8 #C8CB5E #5EC8CB
tetradic
#CB5EC8 #CB975E #5ECB61 #5E91CB
square
#CB5EC8 #CB975E #5ECB61 #5E91CB
split-complementary
#CB5EC8 #91CB5E #5ECB97
monochromatic
#842B82 #B23AAF #CB5EC8 #DA8CD8 #E9BBE8

Accessibility & contrast

On white

3.51
#CB5EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CB5EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EC8
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EC8#FFFFFF#000000##000000
##CB5EC81.003.515.975.97
#FFFFFF3.511.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCB
Deuteranopia (green-blind)
#778EC5
Tritanopia (blue-blind)
#D1698A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb5ec8;
/* rgb */ color: rgb(203, 94, 200);
/* oklch */ color: oklch(65.3% 0.188 328.5);
Tailwind
colors: {
  custom: {
    50: '#dd91d9',
    500: '#cb5ec8',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ec8;
$custom-light: #dd91d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ec8",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 200
  },
  "hsl": {
    "h": 301.651,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65279,
    "c": 0.18803,
    "h": 328.5
  },
  "luminance": 0.24872
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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