#CB5EC6#CB5EC6

#CB5EC6 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.2% C 0.186 H 329.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CB5EC6
RGBrgb(203, 94, 198)
HSLhsl(303, 51%, 58%)
HSVhsv(303, 54%, 80%)
CMYKcmyk(0%, 53.7%, 2.5%, 20.4%)
CIE-LABlab(56.86, 56.93, -34.76)
CIE-LCHlch(56.86, 66.70, 328.59°)
OKLaboklab(65.18% 0.1601 -0.0953)
OKLCHoklch(65.18% 0.186 329.2)
XYZxyz(38.8239, 24.7815, 56.1535)
Luminance0.2478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EC6 #5ECB63
analogous
#995ECB #CB5EC6 #CB5E8F
triadic
#CB5EC6 #C6CB5E #5EC6CB
tetradic
#CB5EC6 #CB995E #5ECB63 #5E8FCB
square
#CB5EC6 #CB995E #5ECB63 #5E8FCB
split-complementary
#CB5EC6 #8FCB5E #5ECB99
monochromatic
#842B80 #B23AAD #CB5EC6 #DA8CD6 #E9BBE7

Accessibility & contrast

On white

3.53
#CB5EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CB5EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EC6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EC6#FFFFFF#000000##000000
##CB5EC61.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FC9
Deuteranopia (green-blind)
#788EC3
Tritanopia (blue-blind)
#D16989
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb5ec6;
/* rgb */ color: rgb(203, 94, 198);
/* oklch */ color: oklch(65.2% 0.186 329.2);
Tailwind
colors: {
  custom: {
    50: '#dd91d7',
    500: '#cb5ec6',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ec6;
$custom-light: #dd91d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ec6",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 198
  },
  "hsl": {
    "h": 302.752,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65182,
    "c": 0.18631,
    "h": 329.2
  },
  "luminance": 0.24779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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