#CB6AF8#CB6AF8

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

Color values

HEX#CB6AF8
RGBrgb(203, 106, 248)
HSLhsl(281, 91%, 69%)
HSVhsv(281, 57%, 97%)
CMYKcmyk(18.1%, 57.3%, 0%, 2.7%)
CIE-LABlab(61.47, 60.70, -55.57)
CIE-LCHlch(61.47, 82.29, 317.53°)
OKLaboklab(69.36% 0.1489 -0.1557)
OKLCHoklch(69.36% 0.215 313.7)
XYZxyz(46.7231, 29.7832, 92.0762)
Luminance0.2978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6AF8 #97F86A
analogous
#846AF8 #CB6AF8 #F86ADE
triadic
#CB6AF8 #F8CB6A #6AF8CB
tetradic
#CB6AF8 #F8846A #97F86A #6ADEF8
square
#CB6AF8 #F8846A #97F86A #6ADEF8
split-complementary
#CB6AF8 #DEF86A #6AF884
monochromatic
#9A0ADD #B730F5 #CB6AF8 #DFA4FB #F4DFFD

Accessibility & contrast

On white

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

On black

6.96
#CB6AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB6AF8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6AF8#FFFFFF#000000##000000
##CB6AF81.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8FFD
Deuteranopia (green-blind)
#6597F4
Tritanopia (blue-blind)
#C783A7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cb6af8;
/* rgb */ color: rgb(203, 106, 248);
/* oklch */ color: oklch(69.4% 0.215 313.7);
Tailwind
colors: {
  custom: {
    50: '#de99fb',
    500: '#cb6af8',
    950: '#000000',
  },
}
SCSS
$custom: #cb6af8;
$custom-light: #de99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6af8",
  "rgb": {
    "r": 203,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 280.986,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69364,
    "c": 0.21542,
    "h": 313.7
  },
  "luminance": 0.29782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB6AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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