#CB5EC9#CB5EC9

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

Color values

HEX#CB5EC9
RGBrgb(203, 94, 201)
HSLhsl(301, 51%, 58%)
HSVhsv(301, 54%, 80%)
CMYKcmyk(0%, 53.7%, 1%, 20.4%)
CIE-LABlab(57.00, 57.45, -36.26)
CIE-LCHlch(57.00, 67.93, 327.74°)
OKLaboklab(65.33% 0.1605 -0.0996)
OKLCHoklch(65.33% 0.189 328.2)
XYZxyz(39.1734, 24.9213, 57.9940)
Luminance0.2492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EC9 #5ECB60
analogous
#965ECB #CB5EC9 #CB5E92
triadic
#CB5EC9 #C9CB5E #5EC9CB
tetradic
#CB5EC9 #CB965E #5ECB60 #5E92CB
square
#CB5EC9 #CB965E #5ECB60 #5E92CB
split-complementary
#CB5EC9 #92CB5E #5ECB96
monochromatic
#842B82 #B23AB0 #CB5EC9 #DA8CD9 #E9BBE8

Accessibility & contrast

On white

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

On black

5.98
#CB5EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EC9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EC9#FFFFFF#000000##000000
##CB5EC91.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CC
Deuteranopia (green-blind)
#768EC6
Tritanopia (blue-blind)
#D16A8B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb5ec9;
/* rgb */ color: rgb(203, 94, 201);
/* oklch */ color: oklch(65.3% 0.189 328.2);
Tailwind
colors: {
  custom: {
    50: '#dd91da',
    500: '#cb5ec9',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ec9;
$custom-light: #dd91da;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ec9",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 201
  },
  "hsl": {
    "h": 301.101,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65328,
    "c": 0.18889,
    "h": 328.2
  },
  "luminance": 0.24919
}

Semantic roles & 50–950 ramp

primary
#CB5EC9
secondary
#ADD8AD
accent
#DB504D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D15
muted
#837E83

Preview Lab

Preview with #CB5EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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