#CB5EFB#CB5EFB

#CB5EFB is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.1% C 0.235 H 313.9°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#CB5EFB
RGBrgb(203, 94, 251)
HSLhsl(282, 95%, 68%)
HSVhsv(282, 63%, 98%)
CMYKcmyk(19.1%, 62.5%, 0%, 1.6%)
CIE-LABlab(59.59, 66.87, -60.22)
CIE-LCHlch(59.59, 89.99, 317.99°)
OKLaboklab(68.05% 0.1631 -0.1692)
OKLCHoklch(68.05% 0.235 313.9)
XYZxyz(46.0410, 27.6684, 94.1633)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EFB #8EFB5E
analogous
#7C5EFB #CB5EFB #FB5EDD
triadic
#CB5EFB #FBCB5E #5EFBCB
tetradic
#CB5EFB #FB7C5E #8EFB5E #5EDDFB
square
#CB5EFB #FB7C5E #8EFB5E #5EDDFB
split-complementary
#CB5EFB #DDFB5E #5EFB7C
monochromatic
#9805D9 #B822FA #CB5EFB #DE9AFC #F2D5FE

Accessibility & contrast

On white

3.21
#CB5EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#CB5EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EFB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EFB#FFFFFF#000000##000000
##CB5EFB1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B89FF
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#C77BA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cb5efb;
/* rgb */ color: rgb(203, 94, 251);
/* oklch */ color: oklch(68.1% 0.235 313.9);
Tailwind
colors: {
  custom: {
    50: '#df92fd',
    500: '#cb5efb',
    950: '#000000',
  },
}
SCSS
$custom: #cb5efb;
$custom-light: #df92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5efb",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 281.656,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68053,
    "c": 0.23501,
    "h": 313.9
  },
  "luminance": 0.27667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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