#CB5AF6#CB5AF6

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

Color values

HEX#CB5AF6
RGBrgb(203, 90, 246)
HSLhsl(283, 90%, 66%)
HSVhsv(283, 63%, 96%)
CMYKcmyk(17.5%, 63.4%, 0%, 3.5%)
CIE-LABlab(58.66, 67.64, -58.94)
CIE-LCHlch(58.66, 89.71, 318.93°)
OKLaboklab(67.29% 0.1677 -0.1655)
OKLCHoklch(67.29% 0.236 315.4)
XYZxyz(44.9167, 26.6642, 89.9516)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AF6 #85F65A
analogous
#7D5AF6 #CB5AF6 #F65AD3
triadic
#CB5AF6 #F6CB5A #5AF6CB
tetradic
#CB5AF6 #F67D5A #85F65A #5AD3F6
square
#CB5AF6 #F67D5A #85F65A #5AD3F6
split-complementary
#CB5AF6 #D3F65A #5AF67D
monochromatic
#960BCB #B920F3 #CB5AF6 #DD94F9 #F0CEFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5AF6#FFFFFF#000000##000000
##CB5AF61.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)
#1986FB
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#C877A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5af6;
/* rgb */ color: rgb(203, 90, 246);
/* oklch */ color: oklch(67.3% 0.236 315.4);
Tailwind
colors: {
  custom: {
    50: '#df8ffa',
    500: '#cb5af6',
    950: '#000000',
  },
}
SCSS
$custom: #cb5af6;
$custom-light: #df8ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5af6",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 246
  },
  "hsl": {
    "h": 283.462,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67292,
    "c": 0.23556,
    "h": 315.4
  },
  "luminance": 0.26663
}

Semantic roles & 50–950 ramp

primary
#CB5AF6
secondary
#CAF0BC
accent
#E6003F
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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