#CB6AFB#CB6AFB

#CB6AFB is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 69.5% C 0.218 H 313.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#CB6AFB
RGBrgb(203, 106, 251)
HSLhsl(280, 95%, 70%)
HSVhsv(280, 58%, 98%)
CMYKcmyk(19.1%, 57.8%, 0%, 1.6%)
CIE-LABlab(61.63, 61.32, -56.96)
CIE-LCHlch(61.63, 83.69, 317.11°)
OKLaboklab(69.54% 0.149 -0.1598)
OKLCHoklch(69.54% 0.218 313)
XYZxyz(47.1922, 29.9709, 94.5470)
Luminance0.2997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6AFB #9AFB6A
analogous
#836AFB #CB6AFB #FB6AE2
triadic
#CB6AFB #FBCB6A #6AFBCB
tetradic
#CB6AFB #FB836A #9AFB6A #6AE2FB
square
#CB6AFB #FB836A #9AFB6A #6AE2FB
split-complementary
#CB6AFB #E2FB6A #6AFB83
monochromatic
#9B06E4 #B62EF9 #CB6AFB #E0A6FD #F5E1FE

Accessibility & contrast

On white

3.00
#CB6AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#CB6AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB6AFB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6AFB#FFFFFF#000000##000000
##CB6AFB1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C90FF
Deuteranopia (green-blind)
#6397F7
Tritanopia (blue-blind)
#C684A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb6afb;
/* rgb */ color: rgb(203, 106, 251);
/* oklch */ color: oklch(69.5% 0.218 313.0);
Tailwind
colors: {
  custom: {
    50: '#de99fd',
    500: '#cb6afb',
    950: '#000000',
  },
}
SCSS
$custom: #cb6afb;
$custom-light: #de99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6afb",
  "rgb": {
    "r": 203,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 280.138,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.69535,
    "c": 0.21844,
    "h": 313
  },
  "luminance": 0.2997
}

Semantic roles & 50–950 ramp

primary
#CB6AFB
secondary
#DAF5CC
accent
#E6004C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E18
muted
#847E86

Preview Lab

Preview with #CB6AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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