#CBABE8#CBABE8

#CBABE8 is a light, moderate violet. Relative luminance 0.476; OKLCH L 79.0% C 0.091 H 308.2°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#CBABE8
RGBrgb(203, 171, 232)
HSLhsl(271, 57%, 79%)
HSVhsv(271, 26%, 91%)
CMYKcmyk(12.5%, 26.3%, 0%, 9%)
CIE-LABlab(74.60, 22.96, -26.26)
CIE-LCHlch(74.60, 34.88, 311.16°)
OKLaboklab(79% 0.0565 -0.0717)
OKLCHoklch(79% 0.091 308.2)
XYZxyz(53.7544, 47.6489, 82.6936)
Luminance0.4765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBABE8 #C8E8AB
analogous
#ADABE8 #CBABE8 #E8ABE7
triadic
#CBABE8 #E8CBAB #ABE8CB
tetradic
#CBABE8 #E8ADAB #C8E8AB #ABE7E8
square
#CBABE8 #E8ADAB #C8E8AB #ABE7E8
split-complementary
#CBABE8 #E7E8AB #ABE8AD
monochromatic
#904BCE #AD7BDB #CBABE8 #E9DBF5 #F0E7F8

Accessibility & contrast

On white

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

On black

10.53
#CBABE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBABE8
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBABE8#FFFFFF#000000##000000
##CBABE81.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1B6EB
Deuteranopia (green-blind)
#A7B8E6
Tritanopia (blue-blind)
#C7B3C0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbabe8;
/* rgb */ color: rgb(203, 171, 232);
/* oklch */ color: oklch(79.0% 0.091 308.2);
Tailwind
colors: {
  custom: {
    50: '#dbc4ef',
    500: '#cbabe8',
    950: '#000000',
  },
}
SCSS
$custom: #cbabe8;
$custom-light: #dbc4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cbabe8",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 232
  },
  "hsl": {
    "h": 271.475,
    "s": 57.009,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78999,
    "c": 0.09133,
    "h": 308.2
  },
  "luminance": 0.47649
}

Semantic roles & 50–950 ramp

primary
#CBABE8
secondary
#E5F0DB
accent
#C5216F
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CBABE8

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

Preview Lab → · Contrast checker → · Palette generator →

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