#CB5EC4#CB5EC4

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

Color values

HEX#CB5EC4
RGBrgb(203, 94, 196)
HSLhsl(304, 51%, 58%)
HSVhsv(304, 54%, 80%)
CMYKcmyk(0%, 53.7%, 3.4%, 20.4%)
CIE-LABlab(56.77, 56.58, -33.76)
CIE-LCHlch(56.77, 65.89, 329.18°)
OKLaboklab(65.09% 0.1598 -0.0924)
OKLCHoklch(65.09% 0.185 329.9)
XYZxyz(38.5948, 24.6899, 54.9466)
Luminance0.2469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EC4 #5ECB65
analogous
#9B5ECB #CB5EC4 #CB5E8D
triadic
#CB5EC4 #C4CB5E #5EC4CB
tetradic
#CB5EC4 #CB9B5E #5ECB65 #5E8DCB
square
#CB5EC4 #CB9B5E #5ECB65 #5E8DCB
split-complementary
#CB5EC4 #8DCB5E #5ECB9B
monochromatic
#842B7E #B23AAA #CB5EC4 #DA8CD5 #E9BBE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5EC4#FFFFFF#000000##000000
##CB5EC41.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)
#577FC7
Deuteranopia (green-blind)
#798EC1
Tritanopia (blue-blind)
#D26888
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb5ec4;
/* rgb */ color: rgb(203, 94, 196);
/* oklch */ color: oklch(65.1% 0.185 329.9);
Tailwind
colors: {
  custom: {
    50: '#dd91d6',
    500: '#cb5ec4',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ec4;
$custom-light: #dd91d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ec4",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 196
  },
  "hsl": {
    "h": 303.853,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65087,
    "c": 0.18461,
    "h": 329.9
  },
  "luminance": 0.24687
}

Semantic roles & 50–950 ramp

primary
#CB5EC4
secondary
#ADD8AF
accent
#DB564D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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