#CB5EC1#CB5EC1

#CB5EC1 is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.9% C 0.182 H 331.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CB5EC1
RGBrgb(203, 94, 193)
HSLhsl(306, 51%, 58%)
HSVhsv(306, 54%, 80%)
CMYKcmyk(0%, 53.7%, 4.9%, 20.4%)
CIE-LABlab(56.64, 56.07, -32.25)
CIE-LCHlch(56.64, 64.68, 330.09°)
OKLaboklab(64.94% 0.1593 -0.0881)
OKLCHoklch(64.94% 0.182 331.1)
XYZxyz(38.2567, 24.5547, 53.1662)
Luminance0.2455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EC1 #5ECB68
analogous
#9F5ECB #CB5EC1 #CB5E8A
triadic
#CB5EC1 #C1CB5E #5EC1CB
tetradic
#CB5EC1 #CB9F5E #5ECB68 #5E8ACB
square
#CB5EC1 #CB9F5E #5ECB68 #5E8ACB
split-complementary
#CB5EC1 #8ACB5E #5ECB9F
monochromatic
#842B7C #B23AA7 #CB5EC1 #DA8CD3 #E9BBE5

Accessibility & contrast

On white

3.55
#CB5EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CB5EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EC1
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EC1#FFFFFF#000000##000000
##CB5EC11.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#597EC4
Deuteranopia (green-blind)
#7A8DBE
Tritanopia (blue-blind)
#D26787
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb5ec1;
/* rgb */ color: rgb(203, 94, 193);
/* oklch */ color: oklch(64.9% 0.182 331.1);
Tailwind
colors: {
  custom: {
    50: '#dd90d4',
    500: '#cb5ec1',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ec1;
$custom-light: #dd90d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ec1",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 305.505,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64945,
    "c": 0.18207,
    "h": 331.1
  },
  "luminance": 0.24552
}

Semantic roles & 50–950 ramp

primary
#CB5EC1
secondary
#ADD8B1
accent
#DB5A4D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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