#CB5CF1#CB5CF1

#CB5CF1 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.2% C 0.228 H 316.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#CB5CF1
RGBrgb(203, 92, 241)
HSLhsl(285, 84%, 65%)
HSVhsv(285, 62%, 95%)
CMYKcmyk(15.8%, 61.8%, 0%, 5.5%)
CIE-LABlab(58.70, 65.78, -56.10)
CIE-LCHlch(58.70, 86.45, 319.54°)
OKLaboklab(67.23% 0.1655 -0.1572)
OKLCHoklch(67.23% 0.228 316.5)
XYZxyz(44.3305, 26.7033, 86.0211)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5CF1 #82F15C
analogous
#805CF1 #CB5CF1 #F15CCC
triadic
#CB5CF1 #F1CB5C #5CF1CB
tetradic
#CB5CF1 #F1805C #82F15C #5CCCF1
square
#CB5CF1 #F1805C #82F15C #5CCCF1
split-complementary
#CB5CF1 #CCF15C #5CF180
monochromatic
#9511C2 #B924EC #CB5CF1 #DD94F6 #EFCDFB

Accessibility & contrast

On white

3.31
#CB5CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#CB5CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5CF1
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5CF1#FFFFFF#000000##000000
##CB5CF11.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A86F6
Deuteranopia (green-blind)
#5E90ED
Tritanopia (blue-blind)
#C9769E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5cf1;
/* rgb */ color: rgb(203, 92, 241);
/* oklch */ color: oklch(67.2% 0.228 316.5);
Tailwind
colors: {
  custom: {
    50: '#de90f6',
    500: '#cb5cf1',
    950: '#000000',
  },
}
SCSS
$custom: #cb5cf1;
$custom-light: #de90f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5cf1",
  "rgb": {
    "r": 203,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 284.698,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67227,
    "c": 0.22822,
    "h": 316.5
  },
  "luminance": 0.26702
}

Semantic roles & 50–950 ramp

primary
#CB5CF1
secondary
#C8EEBB
accent
#E1053D
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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