#CB5FE8#CB5FE8

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

Color values

HEX#CB5FE8
RGBrgb(203, 95, 232)
HSLhsl(287, 75%, 64%)
HSVhsv(287, 59%, 91%)
CMYKcmyk(12.5%, 59.1%, 0%, 9%)
CIE-LABlab(58.70, 62.68, -51.07)
CIE-LCHlch(58.70, 80.85, 320.83°)
OKLaboklab(67.07% 0.1618 -0.1425)
OKLCHoklch(67.07% 0.216 318.6)
XYZxyz(43.2844, 26.7089, 79.2036)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FE8 #7CE85F
analogous
#875FE8 #CB5FE8 #E85FC1
triadic
#CB5FE8 #E8CB5F #5FE8CB
tetradic
#CB5FE8 #E8875F #7CE85F #5FC1E8
square
#CB5FE8 #E8875F #7CE85F #5FC1E8
split-complementary
#CB5FE8 #C1E85F #5FE887
monochromatic
#921AB3 #BA29E0 #CB5FE8 #DC95F0 #EECAF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5FE8#FFFFFF#000000##000000
##CB5FE81.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)
#3D86EC
Deuteranopia (green-blind)
#6691E5
Tritanopia (blue-blind)
#CB759B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5fe8;
/* rgb */ color: rgb(203, 95, 232);
/* oklch */ color: oklch(67.1% 0.216 318.6);
Tailwind
colors: {
  custom: {
    50: '#de92f0',
    500: '#cb5fe8',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fe8;
$custom-light: #de92f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fe8",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 287.299,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67073,
    "c": 0.2156,
    "h": 318.6
  },
  "luminance": 0.26707
}

Semantic roles & 50–950 ramp

primary
#CB5FE8
secondary
#C4E9BA
accent
#D70E39
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB5FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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