#CBABEC#CBABEC

#CBABEC is a light, moderate violet. Relative luminance 0.479; OKLCH L 79.2% C 0.096 H 306.8°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#CBABEC
RGBrgb(203, 171, 236)
HSLhsl(270, 63%, 80%)
HSVhsv(270, 28%, 93%)
CMYKcmyk(14%, 27.5%, 0%, 7.5%)
CIE-LABlab(74.75, 23.80, -28.21)
CIE-LCHlch(74.75, 36.91, 310.15°)
OKLaboklab(79.16% 0.0577 -0.0772)
OKLCHoklch(79.16% 0.096 306.8)
XYZxyz(54.3290, 47.8788, 85.7200)
Luminance0.4788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBABEC #CCECAB
analogous
#ABACEC #CBABEC #EBABEC
triadic
#CBABEC #ECCBAB #ABECCB
tetradic
#CBABEC #ECABAC #CCECAB #ABECEB
square
#CBABEC #ECABAC #CCECAB #ABECEB
split-complementary
#CBABEC #ECEBAB #ACECAB
monochromatic
#8D47D5 #AC79E1 #CBABEC #EADDF7 #F0E6F9

Accessibility & contrast

On white

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

On black

10.58
#CBABEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBABEC
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBABEC#FFFFFF#000000##000000
##CBABEC1.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB7EF
Deuteranopia (green-blind)
#A5B8EA
Tritanopia (blue-blind)
#C7B4C2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbabec;
/* rgb */ color: rgb(203, 171, 236);
/* oklch */ color: oklch(79.2% 0.096 306.8);
Tailwind
colors: {
  custom: {
    50: '#dbc4f2',
    500: '#cbabec',
    950: '#000000',
  },
}
SCSS
$custom: #cbabec;
$custom-light: #dbc4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbabec",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 236
  },
  "hsl": {
    "h": 269.538,
    "s": 63.107,
    "l": 79.804
  },
  "oklch": {
    "l": 0.79159,
    "c": 0.09639,
    "h": 306.8
  },
  "luminance": 0.47878
}

Semantic roles & 50–950 ramp

primary
#CBABEC
secondary
#E6F1DA
accent
#CB1B74
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #CBABEC

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

Preview Lab → · Contrast checker → · Palette generator →

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