#CB5EF8#CB5EF8

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

Color values

HEX#CB5EF8
RGBrgb(203, 94, 248)
HSLhsl(282, 92%, 67%)
HSVhsv(282, 62%, 97%)
CMYKcmyk(18.1%, 62.1%, 0%, 2.7%)
CIE-LABlab(59.42, 66.27, -58.84)
CIE-LCHlch(59.42, 88.62, 318.40°)
OKLaboklab(67.87% 0.1631 -0.1652)
OKLCHoklch(67.87% 0.232 314.6)
XYZxyz(45.5718, 27.4807, 91.6925)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EF8 #8BF85E
analogous
#7E5EF8 #CB5EF8 #F85ED8
triadic
#CB5EF8 #F8CB5E #5EF8CB
tetradic
#CB5EF8 #F87E5E #8BF85E #5ED8F8
square
#CB5EF8 #F87E5E #8BF85E #5ED8F8
split-complementary
#CB5EF8 #D8F85E #5EF87E
monochromatic
#9809D2 #B823F5 #CB5EF8 #DE99FB #F1D3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5EF8#FFFFFF#000000##000000
##CB5EF81.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)
#2389FD
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#C77AA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cb5ef8;
/* rgb */ color: rgb(203, 94, 248);
/* oklch */ color: oklch(67.9% 0.232 314.6);
Tailwind
colors: {
  custom: {
    50: '#de92fb',
    500: '#cb5ef8',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ef8;
$custom-light: #de92fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ef8",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 248
  },
  "hsl": {
    "h": 282.468,
    "s": 91.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67874,
    "c": 0.23215,
    "h": 314.6
  },
  "luminance": 0.27479
}

Semantic roles & 50–950 ramp

primary
#CB5EF8
secondary
#CFF1C0
accent
#E60043
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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