#CBABE9#CBABE9

#CBABE9 is a light, moderate violet. Relative luminance 0.477; OKLCH L 79.0% C 0.093 H 307.9°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#CBABE9
RGBrgb(203, 171, 233)
HSLhsl(271, 58%, 79%)
HSVhsv(271, 27%, 91%)
CMYKcmyk(12.9%, 26.6%, 0%, 8.6%)
CIE-LABlab(74.64, 23.17, -26.75)
CIE-LCHlch(74.64, 35.39, 310.89°)
OKLaboklab(79.04% 0.0568 -0.0731)
OKLCHoklch(79.04% 0.093 307.9)
XYZxyz(53.8968, 47.7059, 83.4438)
Luminance0.4771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBABE9 #C9E9AB
analogous
#ACABE9 #CBABE9 #E9ABE8
triadic
#CBABE9 #E9CBAB #ABE9CB
tetradic
#CBABE9 #E9ACAB #C9E9AB #ABE8E9
square
#CBABE9 #E9ACAB #C9E9AB #ABE8E9
split-complementary
#CBABE9 #E8E9AB #ABE9AC
monochromatic
#8F4AD0 #AD7BDC #CBABE9 #E9DBF6 #F0E7F9

Accessibility & contrast

On white

1.99
#CBABE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#CBABE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBABE9
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBABE9#FFFFFF#000000##000000
##CBABE91.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B6EC
Deuteranopia (green-blind)
#A7B8E7
Tritanopia (blue-blind)
#C7B3C1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbabe9;
/* rgb */ color: rgb(203, 171, 233);
/* oklch */ color: oklch(79.0% 0.093 307.9);
Tailwind
colors: {
  custom: {
    50: '#dbc4f0',
    500: '#cbabe9',
    950: '#000000',
  },
}
SCSS
$custom: #cbabe9;
$custom-light: #dbc4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cbabe9",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 233
  },
  "hsl": {
    "h": 270.968,
    "s": 58.491,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79039,
    "c": 0.09259,
    "h": 307.9
  },
  "luminance": 0.47706
}

Semantic roles & 50–950 ramp

primary
#CBABE9
secondary
#E5F0DB
accent
#C61F70
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CBABE9

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

Preview Lab → · Contrast checker → · Palette generator →

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