#CB5FFE#CB5FFE

#CB5FFE is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.3% C 0.237 H 313.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#CB5FFE
RGBrgb(203, 95, 254)
HSLhsl(281, 99%, 68%)
HSVhsv(281, 63%, 100%)
CMYKcmyk(20.1%, 62.6%, 0%, 0.4%)
CIE-LABlab(59.92, 67.03, -61.34)
CIE-LCHlch(59.92, 90.86, 317.54°)
OKLaboklab(68.35% 0.1619 -0.1725)
OKLCHoklch(68.35% 0.237 313.2)
XYZxyz(46.6071, 28.0380, 96.7034)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FFE #92FE5F
analogous
#7B5FFE #CB5FFE #FE5FE1
triadic
#CB5FFE #FECB5F #5FFECB
tetradic
#CB5FFE #FE7B5F #92FE5F #5FE1FE
square
#CB5FFE #FE7B5F #92FE5F #5FE1FE
split-complementary
#CB5FFE #E1FE5F #5FFE7B
monochromatic
#9901E1 #B722FE #CB5FFE #DF9CFE #F3D9FF

Accessibility & contrast

On white

3.18
#CB5FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#CB5FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FFE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FFE#FFFFFF#000000##000000
##CB5FFE1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#178BFF
Deuteranopia (green-blind)
#5593FA
Tritanopia (blue-blind)
#C67DA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cb5ffe;
/* rgb */ color: rgb(203, 95, 254);
/* oklch */ color: oklch(68.3% 0.237 313.2);
Tailwind
colors: {
  custom: {
    50: '#df92ff',
    500: '#cb5ffe',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ffe;
$custom-light: #df92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ffe",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 254
  },
  "hsl": {
    "h": 280.755,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6835,
    "c": 0.23656,
    "h": 313.2
  },
  "luminance": 0.28037
}

Semantic roles & 50–950 ramp

primary
#CB5FFE
secondary
#D4F4C4
accent
#E6004A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB5FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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