#CB6AF7#CB6AF7

#CB6AF7 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.3% C 0.214 H 314.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#CB6AF7
RGBrgb(203, 106, 247)
HSLhsl(281, 90%, 69%)
HSVhsv(281, 57%, 97%)
CMYKcmyk(17.8%, 57.1%, 0%, 3.1%)
CIE-LABlab(61.41, 60.50, -55.10)
CIE-LCHlch(61.41, 81.83, 317.67°)
OKLaboklab(69.31% 0.1489 -0.1543)
OKLCHoklch(69.31% 0.214 314)
XYZxyz(46.5683, 29.7213, 91.2613)
Luminance0.2972 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6AF7 #96F76A
analogous
#856AF7 #CB6AF7 #F76ADC
triadic
#CB6AF7 #F7CB6A #6AF7CB
tetradic
#CB6AF7 #F7856A #96F76A #6ADCF7
square
#CB6AF7 #F7856A #96F76A #6ADCF7
split-complementary
#CB6AF7 #DCF76A #6AF785
monochromatic
#9A0CDB #B730F4 #CB6AF7 #DFA4FA #F4DEFD

Accessibility & contrast

On white

3.02
#CB6AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#CB6AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB6AF7
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6AF7#FFFFFF#000000##000000
##CB6AF71.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFC
Deuteranopia (green-blind)
#6597F3
Tritanopia (blue-blind)
#C782A7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cb6af7;
/* rgb */ color: rgb(203, 106, 247);
/* oklch */ color: oklch(69.3% 0.214 314.0);
Tailwind
colors: {
  custom: {
    50: '#de99fa',
    500: '#cb6af7',
    950: '#000000',
  },
}
SCSS
$custom: #cb6af7;
$custom-light: #de99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6af7",
  "rgb": {
    "r": 203,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 281.277,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69307,
    "c": 0.21441,
    "h": 314
  },
  "luminance": 0.2972
}

Semantic roles & 50–950 ramp

primary
#CB6AF7
secondary
#D7F3CA
accent
#E60048
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CB6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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