#CB5BF1#CB5BF1

#CB5BF1 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.1% C 0.230 H 316.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#CB5BF1
RGBrgb(203, 91, 241)
HSLhsl(285, 84%, 65%)
HSVhsv(285, 62%, 95%)
CMYKcmyk(15.8%, 62.2%, 0%, 5.5%)
CIE-LABlab(58.54, 66.22, -56.36)
CIE-LCHlch(58.54, 86.95, 319.60°)
OKLaboklab(67.11% 0.1666 -0.1579)
OKLCHoklch(67.11% 0.23 316.5)
XYZxyz(44.2445, 26.5312, 85.9924)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BF1 #81F15B
analogous
#805BF1 #CB5BF1 #F15BCC
triadic
#CB5BF1 #F1CB5B #5BF1CB
tetradic
#CB5BF1 #F1805B #81F15B #5BCCF1
square
#CB5BF1 #F1805B #81F15B #5BCCF1
split-complementary
#CB5BF1 #CCF15B #5BF180
monochromatic
#9410C1 #B923EC #CB5BF1 #DD93F6 #EFCCFB

Accessibility & contrast

On white

3.33
#CB5BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#CB5BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BF1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BF1#FFFFFF#000000##000000
##CB5BF11.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2886F6
Deuteranopia (green-blind)
#5D90ED
Tritanopia (blue-blind)
#C9769E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5bf1;
/* rgb */ color: rgb(203, 91, 241);
/* oklch */ color: oklch(67.1% 0.230 316.5);
Tailwind
colors: {
  custom: {
    50: '#de90f6',
    500: '#cb5bf1',
    950: '#000000',
  },
}
SCSS
$custom: #cb5bf1;
$custom-light: #de90f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5bf1",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 284.8,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67111,
    "c": 0.22957,
    "h": 316.5
  },
  "luminance": 0.2653
}

Semantic roles & 50–950 ramp

primary
#CB5BF1
secondary
#C7EDBA
accent
#E1053C
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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