#CB5ECC#CB5ECC

#CB5ECC is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.5% C 0.192 H 327.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#CB5ECC
RGBrgb(203, 94, 204)
HSLhsl(299, 52%, 58%)
HSVhsv(299, 54%, 80%)
CMYKcmyk(0.5%, 53.9%, 0%, 20%)
CIE-LABlab(57.14, 57.97, -37.75)
CIE-LCHlch(57.14, 69.18, 326.93°)
OKLaboklab(65.48% 0.1609 -0.1039)
OKLCHoklch(65.48% 0.192 327.1)
XYZxyz(39.5297, 25.0639, 59.8707)
Luminance0.2506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5ECC #5FCC5E
analogous
#945ECC #CB5ECC #CC5E96
triadic
#CB5ECC #CCCB5E #5ECCCB
tetradic
#CB5ECC #CC945E #5FCC5E #5E96CC
square
#CB5ECC #CC945E #5FCC5E #5E96CC
split-complementary
#CB5ECC #96CC5E #5ECC94
monochromatic
#852A85 #B339B4 #CB5ECC #DA8CDB #E9BBE9

Accessibility & contrast

On white

3.49
#CB5ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#CB5ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5ECC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5ECC#FFFFFF#000000##000000
##CB5ECC1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D0
Deuteranopia (green-blind)
#758EC9
Tritanopia (blue-blind)
#D06B8C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb5ecc;
/* rgb */ color: rgb(203, 94, 204);
/* oklch */ color: oklch(65.5% 0.192 327.1);
Tailwind
colors: {
  custom: {
    50: '#dd91dc',
    500: '#cb5ecc',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ecc;
$custom-light: #dd91dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ecc",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 299.455,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65475,
    "c": 0.19151,
    "h": 327.1
  },
  "luminance": 0.25062
}

Semantic roles & 50–950 ramp

primary
#CB5ECC
secondary
#ADD9AD
accent
#DB4C4E
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CB5ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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