#CB5DFB#CB5DFB

#CB5DFB is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.9% C 0.236 H 314.0°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#CB5DFB
RGBrgb(203, 93, 251)
HSLhsl(282, 95%, 67%)
HSVhsv(282, 63%, 98%)
CMYKcmyk(19.1%, 62.9%, 0%, 1.6%)
CIE-LABlab(59.43, 67.31, -60.48)
CIE-LCHlch(59.43, 90.49, 318.06°)
OKLaboklab(67.94% 0.1642 -0.17)
OKLCHoklch(67.94% 0.236 314)
XYZxyz(45.9526, 27.4917, 94.1338)
Luminance0.2749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DFB #8DFB5D
analogous
#7C5DFB #CB5DFB #FB5DDC
triadic
#CB5DFB #FBCB5D #5DFBCB
tetradic
#CB5DFB #FB7C5D #8DFB5D #5DDCFB
square
#CB5DFB #FB7C5D #8DFB5D #5DDCFB
split-complementary
#CB5DFB #DCFB5D #5DFB7C
monochromatic
#9805D8 #B821FA #CB5DFB #DE99FC #F1D4FE

Accessibility & contrast

On white

3.23
#CB5DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#CB5DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DFB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DFB#FFFFFF#000000##000000
##CB5DFB1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1789FF
Deuteranopia (green-blind)
#5692F7
Tritanopia (blue-blind)
#C77BA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cb5dfb;
/* rgb */ color: rgb(203, 93, 251);
/* oklch */ color: oklch(67.9% 0.236 314.0);
Tailwind
colors: {
  custom: {
    50: '#df91fd',
    500: '#cb5dfb',
    950: '#000000',
  },
}
SCSS
$custom: #cb5dfb;
$custom-light: #df91fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5dfb",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 251
  },
  "hsl": {
    "h": 281.772,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67936,
    "c": 0.23633,
    "h": 314
  },
  "luminance": 0.2749
}

Semantic roles & 50–950 ramp

primary
#CB5DFB
secondary
#D0F3C1
accent
#E60046
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB5DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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