#CB6AFA#CB6AFA

#CB6AFA is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.5% C 0.217 H 313.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CB6AFA
RGBrgb(203, 106, 250)
HSLhsl(280, 94%, 70%)
HSVhsv(280, 58%, 98%)
CMYKcmyk(18.8%, 57.6%, 0%, 2%)
CIE-LABlab(61.57, 61.11, -56.50)
CIE-LCHlch(61.57, 83.23, 317.25°)
OKLaboklab(69.48% 0.1489 -0.1584)
OKLCHoklch(69.48% 0.217 313.2)
XYZxyz(47.0350, 29.9080, 93.7191)
Luminance0.2991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6AFA #99FA6A
analogous
#836AFA #CB6AFA #FA6AE1
triadic
#CB6AFA #FACB6A #6AFACB
tetradic
#CB6AFA #FA836A #99FA6A #6AE1FA
square
#CB6AFA #FA836A #99FA6A #6AE1FA
split-complementary
#CB6AFA #E1FA6A #6AFA83
monochromatic
#9B08E2 #B62FF8 #CB6AFA #E0A5FC #F4E0FE

Accessibility & contrast

On white

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

On black

6.98
#CB6AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB6AFA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6AFA#FFFFFF#000000##000000
##CB6AFA1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8FFF
Deuteranopia (green-blind)
#6397F6
Tritanopia (blue-blind)
#C683A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb6afa;
/* rgb */ color: rgb(203, 106, 250);
/* oklch */ color: oklch(69.5% 0.217 313.2);
Tailwind
colors: {
  custom: {
    50: '#de99fc',
    500: '#cb6afa',
    950: '#000000',
  },
}
SCSS
$custom: #cb6afa;
$custom-light: #de99fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6afa",
  "rgb": {
    "r": 203,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 280.417,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69478,
    "c": 0.21743,
    "h": 313.2
  },
  "luminance": 0.29907
}

Semantic roles & 50–950 ramp

primary
#CB6AFA
secondary
#D9F4CC
accent
#E6004B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E18
muted
#847E86

Preview Lab

Preview with #CB6AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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