#CB5FFB#CB5FFB

#CB5FFB is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.2% C 0.234 H 313.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#CB5FFB
RGBrgb(203, 95, 251)
HSLhsl(282, 95%, 68%)
HSVhsv(282, 62%, 98%)
CMYKcmyk(19.1%, 62.2%, 0%, 1.6%)
CIE-LABlab(59.75, 66.42, -59.96)
CIE-LCHlch(59.75, 89.49, 317.93°)
OKLaboklab(68.17% 0.1619 -0.1685)
OKLCHoklch(68.17% 0.234 313.9)
XYZxyz(46.1305, 27.8474, 94.1931)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FFB #8FFB5F
analogous
#7D5FFB #CB5FFB #FB5FDD
triadic
#CB5FFB #FBCB5F #5FFBCB
tetradic
#CB5FFB #FB7D5F #8FFB5F #5FDDFB
square
#CB5FFB #FB7D5F #8FFB5F #5FDDFB
split-complementary
#CB5FFB #DDFB5F #5FFB7D
monochromatic
#9905DA #B823FA #CB5FFB #DE9BFC #F2D6FE

Accessibility & contrast

On white

3.20
#CB5FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#CB5FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FFB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FFB#FFFFFF#000000##000000
##CB5FFB1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F8AFF
Deuteranopia (green-blind)
#5893F7
Tritanopia (blue-blind)
#C77CA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cb5ffb;
/* rgb */ color: rgb(203, 95, 251);
/* oklch */ color: oklch(68.2% 0.234 313.9);
Tailwind
colors: {
  custom: {
    50: '#df92fd',
    500: '#cb5ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ffb;
$custom-light: #df92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ffb",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 251
  },
  "hsl": {
    "h": 281.538,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6817,
    "c": 0.23368,
    "h": 313.9
  },
  "luminance": 0.27846
}

Semantic roles & 50–950 ramp

primary
#CB5FFB
secondary
#D2F3C3
accent
#E60047
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB5FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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