#CBABFE#CBABFE

#CBABFE is a light, moderate violet. Relative luminance 0.490; OKLCH L 79.9% C 0.119 H 301.5°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#CBABFE
RGBrgb(203, 171, 254)
HSLhsl(263, 98%, 83%)
HSVhsv(263, 33%, 100%)
CMYKcmyk(20.1%, 32.7%, 0%, 0.4%)
CIE-LABlab(75.44, 27.71, -36.88)
CIE-LCHlch(75.44, 46.13, 306.92°)
OKLaboklab(79.91% 0.0624 -0.1019)
OKLCHoklch(79.91% 0.119 301.5)
XYZxyz(57.0771, 48.9780, 100.1934)
Luminance0.4898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBABFE #DEFEAB
analogous
#ABB4FE #CBABFE #F5ABFE
triadic
#CBABFE #FECBAB #ABFECB
tetradic
#CBABFE #FEABB4 #DEFEAB #ABFEF5
square
#CBABFE #FEABB4 #DEFEAB #ABFEF5
split-complementary
#CBABFE #FEF5AB #B4FEAB
monochromatic
#8032FD #A66FFD #CBABFE #ECE1FF #ECE1FF

Accessibility & contrast

On white

1.95
#CBABFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#CBABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBABFE
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBABFE#FFFFFF#000000##000000
##CBABFE1.001.9510.8010.80
#FFFFFF1.951.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B9FF
Deuteranopia (green-blind)
#9EBAFC
Tritanopia (blue-blind)
#C2B8C9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cbabfe;
/* rgb */ color: rgb(203, 171, 254);
/* oklch */ color: oklch(79.9% 0.119 301.5);
Tailwind
colors: {
  custom: {
    50: '#dcc4ff',
    500: '#cbabfe',
    950: '#000000',
  },
}
SCSS
$custom: #cbabfe;
$custom-light: #dcc4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cbabfe",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 263.133,
    "s": 97.647,
    "l": 83.333
  },
  "oklch": {
    "l": 0.79914,
    "c": 0.11946,
    "h": 301.5
  },
  "luminance": 0.48978
}

Semantic roles & 50–950 ramp

primary
#CBABFE
secondary
#E9F7D4
accent
#E6008D
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CBABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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