#CBAAFF#CBAAFF

#CBAAFF is a light, vivid violet. Relative luminance 0.487; OKLCH L 79.8% C 0.122 H 301.5°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#CBAAFF
RGBrgb(203, 170, 255)
HSLhsl(263, 100%, 83%)
HSVhsv(263, 33%, 100%)
CMYKcmyk(20.4%, 33.3%, 0%, 0%)
CIE-LABlab(75.24, 28.48, -37.72)
CIE-LCHlch(75.24, 47.27, 307.05°)
OKLaboklab(79.78% 0.064 -0.1043)
OKLCHoklch(79.78% 0.122 301.5)
XYZxyz(57.0495, 48.6659, 100.9763)
Luminance0.4867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAAFF #DEFFAA
analogous
#AAB3FF #CBAAFF #F5AAFF
triadic
#CBAAFF #FFCBAA #AAFFCB
tetradic
#CBAAFF #FFAAB3 #DEFFAA #AAFFF5
square
#CBAAFF #FFAAB3 #DEFFAA #AAFFF5
split-complementary
#CBAAFF #FFF5AA #B3FFAA
monochromatic
#8030FF #A66DFF #CBAAFF #ECE0FF #ECE0FF

Accessibility & contrast

On white

1.96
#CBAAFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#CBAAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAAFF
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAAFF#FFFFFF#000000##000000
##CBAAFF1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B9FF
Deuteranopia (green-blind)
#9DB9FD
Tritanopia (blue-blind)
#C2B7C9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cbaaff;
/* rgb */ color: rgb(203, 170, 255);
/* oklch */ color: oklch(79.8% 0.122 301.5);
Tailwind
colors: {
  custom: {
    50: '#dcc3ff',
    500: '#cbaaff',
    950: '#000000',
  },
}
SCSS
$custom: #cbaaff;
$custom-light: #dcc3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaaff",
  "rgb": {
    "r": 203,
    "g": 170,
    "b": 255
  },
  "hsl": {
    "h": 263.294,
    "s": 100,
    "l": 83.333
  },
  "oklch": {
    "l": 0.79778,
    "c": 0.12236,
    "h": 301.5
  },
  "luminance": 0.48666
}

Semantic roles & 50–950 ramp

primary
#CBAAFF
secondary
#E9F7D4
accent
#E6008C
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CBAAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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