#CBABEF#CBABEF

#CBABEF is a light, moderate violet. Relative luminance 0.481; OKLCH L 79.3% C 0.100 H 305.7°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#CBABEF
RGBrgb(203, 171, 239)
HSLhsl(268, 68%, 80%)
HSVhsv(268, 28%, 94%)
CMYKcmyk(15.1%, 28.5%, 0%, 6.3%)
CIE-LABlab(74.86, 24.44, -29.67)
CIE-LCHlch(74.86, 38.43, 309.48°)
OKLaboklab(79.28% 0.0585 -0.0813)
OKLCHoklch(79.28% 0.1 305.7)
XYZxyz(54.7685, 48.0546, 88.0348)
Luminance0.4805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBABEF #CFEFAB
analogous
#ABADEF #CBABEF #EDABEF
triadic
#CBABEF #EFCBAB #ABEFCB
tetradic
#CBABEF #EFABAD #CFEFAB #ABEFED
square
#CBABEF #EFABAD #CFEFAB #ABEFED
split-complementary
#CBABEF #EFEDAB #ADEFAB
monochromatic
#8B44DB #AB78E5 #CBABEF #EBDEF9 #EFE5FA

Accessibility & contrast

On white

1.98
#CBABEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#CBABEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBABEF
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBABEF#FFFFFF#000000##000000
##CBABEF1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB7F2
Deuteranopia (green-blind)
#A4B8ED
Tritanopia (blue-blind)
#C6B5C3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbabef;
/* rgb */ color: rgb(203, 171, 239);
/* oklch */ color: oklch(79.3% 0.100 305.7);
Tailwind
colors: {
  custom: {
    50: '#dbc4f4',
    500: '#cbabef',
    950: '#000000',
  },
}
SCSS
$custom: #cbabef;
$custom-light: #dbc4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cbabef",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 239
  },
  "hsl": {
    "h": 268.235,
    "s": 68,
    "l": 80.392
  },
  "oklch": {
    "l": 0.7928,
    "c": 0.1002,
    "h": 305.7
  },
  "luminance": 0.48054
}

Semantic roles & 50–950 ramp

primary
#CBABEF
secondary
#E6F2D9
accent
#D01678
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #CBABEF

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

Preview Lab → · Contrast checker → · Palette generator →

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