#CB5FE6#CB5FE6

#CB5FE6 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.0% C 0.214 H 319.2°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CB5FE6
RGBrgb(203, 95, 230)
HSLhsl(288, 73%, 64%)
HSVhsv(288, 59%, 90%)
CMYKcmyk(11.7%, 58.7%, 0%, 9.8%)
CIE-LABlab(58.60, 62.30, -50.12)
CIE-LCHlch(58.60, 79.96, 321.18°)
OKLaboklab(66.96% 0.1617 -0.1397)
OKLCHoklch(66.96% 0.214 319.2)
XYZxyz(43.0019, 26.5959, 77.7160)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FE6 #7AE65F
analogous
#875FE6 #CB5FE6 #E65FBD
triadic
#CB5FE6 #E6CB5F #5FE6CB
tetradic
#CB5FE6 #E6875F #7AE65F #5FBDE6
square
#CB5FE6 #E6875F #7AE65F #5FBDE6
split-complementary
#CB5FE6 #BDE65F #5FE687
monochromatic
#921BAF #BA2ADE #CB5FE6 #DC94EE #EDC9F7

Accessibility & contrast

On white

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

On black

6.32
#CB5FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FE6
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FE6#FFFFFF#000000##000000
##CB5FE61.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F86EA
Deuteranopia (green-blind)
#6891E3
Tritanopia (blue-blind)
#CB759A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5fe6;
/* rgb */ color: rgb(203, 95, 230);
/* oklch */ color: oklch(67.0% 0.214 319.2);
Tailwind
colors: {
  custom: {
    50: '#de92ee',
    500: '#cb5fe6',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fe6;
$custom-light: #de92ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fe6",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 288,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66962,
    "c": 0.21372,
    "h": 319.2
  },
  "luminance": 0.26594
}

Semantic roles & 50–950 ramp

primary
#CB5FE6
secondary
#C2E8B9
accent
#D51038
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB5FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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