#CB6AF9#CB6AF9

#CB6AF9 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.4% C 0.216 H 313.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#CB6AF9
RGBrgb(203, 106, 249)
HSLhsl(281, 92%, 70%)
HSVhsv(281, 57%, 98%)
CMYKcmyk(18.5%, 57.4%, 0%, 2.4%)
CIE-LABlab(61.52, 60.91, -56.03)
CIE-LCHlch(61.52, 82.76, 317.39°)
OKLaboklab(69.42% 0.1489 -0.157)
OKLCHoklch(69.42% 0.216 313.5)
XYZxyz(46.8786, 29.8454, 92.8954)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6AF9 #98F96A
analogous
#836AF9 #CB6AF9 #F96AE0
triadic
#CB6AF9 #F9CB6A #6AF9CB
tetradic
#CB6AF9 #F9836A #98F96A #6AE0F9
square
#CB6AF9 #F9836A #98F96A #6AE0F9
split-complementary
#CB6AF9 #E0F96A #6AF983
monochromatic
#9B09E0 #B62FF7 #CB6AF9 #E0A5FB #F4E0FE

Accessibility & contrast

On white

3.01
#CB6AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#CB6AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB6AF9
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6AF9#FFFFFF#000000##000000
##CB6AF91.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8FFE
Deuteranopia (green-blind)
#6497F5
Tritanopia (blue-blind)
#C783A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb6af9;
/* rgb */ color: rgb(203, 106, 249);
/* oklch */ color: oklch(69.4% 0.216 313.5);
Tailwind
colors: {
  custom: {
    50: '#de99fc',
    500: '#cb6af9',
    950: '#000000',
  },
}
SCSS
$custom: #cb6af9;
$custom-light: #de99fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6af9",
  "rgb": {
    "r": 203,
    "g": 106,
    "b": 249
  },
  "hsl": {
    "h": 280.699,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69421,
    "c": 0.21642,
    "h": 313.5
  },
  "luminance": 0.29844
}

Semantic roles & 50–950 ramp

primary
#CB6AF9
secondary
#D8F4CB
accent
#E6004A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CB6AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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