#CB5FE7#CB5FE7

#CB5FE7 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.0% C 0.215 H 318.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#CB5FE7
RGBrgb(203, 95, 231)
HSLhsl(288, 74%, 64%)
HSVhsv(288, 59%, 91%)
CMYKcmyk(12.1%, 58.9%, 0%, 9.4%)
CIE-LABlab(58.65, 62.49, -50.59)
CIE-LCHlch(58.65, 80.40, 321.00°)
OKLaboklab(67.02% 0.1618 -0.1411)
OKLCHoklch(67.02% 0.215 318.9)
XYZxyz(43.1427, 26.6523, 78.4577)
Luminance0.2665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FE7 #7BE75F
analogous
#875FE7 #CB5FE7 #E75FBF
triadic
#CB5FE7 #E7CB5F #5FE7CB
tetradic
#CB5FE7 #E7875F #7BE75F #5FBFE7
square
#CB5FE7 #E7875F #7BE75F #5FBFE7
split-complementary
#CB5FE7 #BFE75F #5FE787
monochromatic
#921BB1 #BA2ADF #CB5FE7 #DC94EF #EEC9F7

Accessibility & contrast

On white

3.32
#CB5FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#CB5FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FE7
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FE7#FFFFFF#000000##000000
##CB5FE71.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E86EB
Deuteranopia (green-blind)
#6791E4
Tritanopia (blue-blind)
#CB759A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5fe7;
/* rgb */ color: rgb(203, 95, 231);
/* oklch */ color: oklch(67.0% 0.215 318.9);
Tailwind
colors: {
  custom: {
    50: '#de92ef',
    500: '#cb5fe7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fe7;
$custom-light: #de92ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fe7",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 287.647,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67018,
    "c": 0.21467,
    "h": 318.9
  },
  "luminance": 0.2665
}

Semantic roles & 50–950 ramp

primary
#CB5FE7
secondary
#C3E9B9
accent
#D60F38
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB5FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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