#CBA6FA#CBA6FA

#CBA6FA is a light, vivid violet. Relative luminance 0.469; OKLCH L 78.8% C 0.122 H 303.9°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#CBA6FA
RGBrgb(203, 166, 250)
HSLhsl(266, 89%, 82%)
HSVhsv(266, 34%, 98%)
CMYKcmyk(18.8%, 33.6%, 0%, 2%)
CIE-LABlab(74.11, 29.56, -36.78)
CIE-LCHlch(74.11, 47.19, 308.79°)
OKLaboklab(78.85% 0.0684 -0.1016)
OKLCHoklch(78.85% 0.122 303.9)
XYZxyz(55.5166, 46.8712, 96.5463)
Luminance0.4687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA6FA #D5FAA6
analogous
#A6ABFA #CBA6FA #F5A6FA
triadic
#CBA6FA #FACBA6 #A6FACB
tetradic
#CBA6FA #FAA6AB #D5FAA6 #A6FAF5
square
#CBA6FA #FAA6AB #D5FAA6 #A6FAF5
split-complementary
#CBA6FA #FAF5A6 #ABFAA6
monochromatic
#8732F3 #A96CF7 #CBA6FA #EDE0FD #EEE2FD

Accessibility & contrast

On white

2.02
#CBA6FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#CBA6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA6FA
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA6FA#FFFFFF#000000##000000
##CBA6FA1.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B5FD
Deuteranopia (green-blind)
#9BB6F8
Tritanopia (blue-blind)
#C4B3C5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cba6fa;
/* rgb */ color: rgb(203, 166, 250);
/* oklch */ color: oklch(78.8% 0.122 303.9);
Tailwind
colors: {
  custom: {
    50: '#dcc0fc',
    500: '#cba6fa',
    950: '#000000',
  },
}
SCSS
$custom: #cba6fa;
$custom-light: #dcc0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cba6fa",
  "rgb": {
    "r": 203,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 266.429,
    "s": 89.362,
    "l": 81.569
  },
  "oklch": {
    "l": 0.78845,
    "c": 0.12247,
    "h": 303.9
  },
  "luminance": 0.46871
}

Semantic roles & 50–950 ramp

primary
#CBA6FA
secondary
#E7F5D6
accent
#E60080
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CBA6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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