#CB5FEB#CB5FEB

#CB5FEB is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.2% C 0.218 H 317.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#CB5FEB
RGBrgb(203, 95, 235)
HSLhsl(286, 78%, 65%)
HSVhsv(286, 60%, 92%)
CMYKcmyk(13.6%, 59.6%, 0%, 7.8%)
CIE-LABlab(58.86, 63.26, -52.49)
CIE-LCHlch(58.86, 82.20, 320.32°)
OKLaboklab(67.24% 0.1619 -0.1466)
OKLCHoklch(67.24% 0.218 317.8)
XYZxyz(43.7141, 26.8808, 81.4670)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FEB #7FEB5F
analogous
#855FEB #CB5FEB #EB5FC5
triadic
#CB5FEB #EBCB5F #5FEBCB
tetradic
#CB5FEB #EB855F #7FEB5F #5FC5EB
square
#CB5FEB #EB855F #7FEB5F #5FC5EB
split-complementary
#CB5FEB #C5EB5F #5FEB85
monochromatic
#9417B9 #B929E4 #CB5FEB #DD95F2 #EECCF9

Accessibility & contrast

On white

3.29
#CB5FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#CB5FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FEB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FEB#FFFFFF#000000##000000
##CB5FEB1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987EF
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#CA769C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5feb;
/* rgb */ color: rgb(203, 95, 235);
/* oklch */ color: oklch(67.2% 0.218 317.8);
Tailwind
colors: {
  custom: {
    50: '#de92f2',
    500: '#cb5feb',
    950: '#000000',
  },
}
SCSS
$custom: #cb5feb;
$custom-light: #de92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5feb",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 286.286,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67241,
    "c": 0.21844,
    "h": 317.8
  },
  "luminance": 0.26879
}

Semantic roles & 50–950 ramp

primary
#CB5FEB
secondary
#C6EBBB
accent
#DA0B3B
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #CB5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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