#CBABFC#CBABFC

#CBABFC is a light, moderate violet. Relative luminance 0.489; OKLCH L 79.8% C 0.117 H 302.0°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#CBABFC
RGBrgb(203, 171, 252)
HSLhsl(264, 93%, 83%)
HSVhsv(264, 32%, 99%)
CMYKcmyk(19.4%, 32.1%, 0%, 1.2%)
CIE-LABlab(75.36, 27.26, -35.93)
CIE-LCHlch(75.36, 45.10, 307.20°)
OKLaboklab(79.83% 0.0619 -0.0992)
OKLCHoklch(79.83% 0.117 302)
XYZxyz(56.7585, 48.8506, 98.5155)
Luminance0.4885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBABFC #DCFCAB
analogous
#ABB3FC #CBABFC #F4ABFC
triadic
#CBABFC #FCCBAB #ABFCCB
tetradic
#CBABFC #FCABB3 #DCFCAB #ABFCF4
square
#CBABFC #FCABB3 #DCFCAB #ABFCF4
split-complementary
#CBABFC #FCF4AB #B3FCAB
monochromatic
#8235F8 #A670FA #CBABFC #EDE1FE #EDE1FE

Accessibility & contrast

On white

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

On black

10.77
#CBABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBABFC
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBABFC#FFFFFF#000000##000000
##CBABFC1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbabfc;
/* rgb */ color: rgb(203, 171, 252);
/* oklch */ color: oklch(79.8% 0.117 302.0);
Tailwind
colors: {
  custom: {
    50: '#dcc4fd',
    500: '#cbabfc',
    950: '#000000',
  },
}
SCSS
$custom: #cbabfc;
$custom-light: #dcc4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cbabfc",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 263.704,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.79827,
    "c": 0.11688,
    "h": 302
  },
  "luminance": 0.48851
}

Semantic roles & 50–950 ramp

primary
#CBABFC
secondary
#E9F6D5
accent
#E6008B
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CBABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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