#CB5EC5#CB5EC5

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

Color values

HEX#CB5EC5
RGBrgb(203, 94, 197)
HSLhsl(303, 51%, 58%)
HSVhsv(303, 54%, 80%)
CMYKcmyk(0%, 53.7%, 3%, 20.4%)
CIE-LABlab(56.82, 56.75, -34.26)
CIE-LCHlch(56.82, 66.29, 328.88°)
OKLaboklab(65.13% 0.1599 -0.0939)
OKLCHoklch(65.13% 0.185 329.6)
XYZxyz(38.7090, 24.7356, 55.5481)
Luminance0.2473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EC5 #5ECB64
analogous
#9A5ECB #CB5EC5 #CB5E8E
triadic
#CB5EC5 #C5CB5E #5EC5CB
tetradic
#CB5EC5 #CB9A5E #5ECB64 #5E8ECB
square
#CB5EC5 #CB9A5E #5ECB64 #5E8ECB
split-complementary
#CB5EC5 #8ECB5E #5ECB9A
monochromatic
#842B7F #B23AAC #CB5EC5 #DA8CD6 #E9BBE6

Accessibility & contrast

On white

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

On black

5.95
#CB5EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EC5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EC5#FFFFFF#000000##000000
##CB5EC51.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC8
Deuteranopia (green-blind)
#788EC2
Tritanopia (blue-blind)
#D26889
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb5ec5;
/* rgb */ color: rgb(203, 94, 197);
/* oklch */ color: oklch(65.1% 0.185 329.6);
Tailwind
colors: {
  custom: {
    50: '#dd91d7',
    500: '#cb5ec5',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ec5;
$custom-light: #dd91d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ec5",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 197
  },
  "hsl": {
    "h": 303.303,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65134,
    "c": 0.18545,
    "h": 329.6
  },
  "luminance": 0.24733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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