#CBAAF9#CBAAF9

#CBAAF9 is a light, moderate violet. Relative luminance 0.483; OKLCH L 79.5% C 0.115 H 303.1°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#CBAAF9
RGBrgb(203, 170, 249)
HSLhsl(265, 87%, 82%)
HSVhsv(265, 32%, 98%)
CMYKcmyk(18.5%, 31.7%, 0%, 2.4%)
CIE-LABlab(75.00, 27.15, -34.85)
CIE-LCHlch(75.00, 44.18, 307.92°)
OKLaboklab(79.52% 0.0625 -0.0961)
OKLCHoklch(79.52% 0.115 303.1)
XYZxyz(56.0987, 48.2856, 95.9688)
Luminance0.4829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAAF9 #D8F9AA
analogous
#AAB1F9 #CBAAF9 #F2AAF9
triadic
#CBAAF9 #F9CBAA #AAF9CB
tetradic
#CBAAF9 #F9AAB1 #D8F9AA #AAF9F2
square
#CBAAF9 #F9AAB1 #D8F9AA #AAF9F2
split-complementary
#CBAAF9 #F9F2AA #B1F9AA
monochromatic
#8538F1 #A871F5 #CBAAF9 #EEE2FD #EEE2FD

Accessibility & contrast

On white

1.97
#CBAAF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#CBAAF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAAF9
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAAF9#FFFFFF#000000##000000
##CBAAF91.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B8FC
Deuteranopia (green-blind)
#A0B9F7
Tritanopia (blue-blind)
#C4B6C7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cbaaf9;
/* rgb */ color: rgb(203, 170, 249);
/* oklch */ color: oklch(79.5% 0.115 303.1);
Tailwind
colors: {
  custom: {
    50: '#dcc3fb',
    500: '#cbaaf9',
    950: '#000000',
  },
}
SCSS
$custom: #cbaaf9;
$custom-light: #dcc3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaaf9",
  "rgb": {
    "r": 203,
    "g": 170,
    "b": 249
  },
  "hsl": {
    "h": 265.063,
    "s": 86.813,
    "l": 82.157
  },
  "oklch": {
    "l": 0.79518,
    "c": 0.11464,
    "h": 303.1
  },
  "luminance": 0.48286
}

Semantic roles & 50–950 ramp

primary
#CBAAF9
secondary
#E8F5D6
accent
#E30285
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CBAAF9

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

Preview Lab → · Contrast checker → · Palette generator →

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