#CBABFB#CBABFB

#CBABFB is a light, moderate violet. Relative luminance 0.488; OKLCH L 79.8% C 0.116 H 302.2°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#CBABFB
RGBrgb(203, 171, 251)
HSLhsl(264, 91%, 83%)
HSVhsv(264, 32%, 98%)
CMYKcmyk(19.1%, 31.9%, 0%, 1.6%)
CIE-LABlab(75.32, 27.04, -35.45)
CIE-LCHlch(75.32, 44.59, 307.34°)
OKLaboklab(79.78% 0.0616 -0.0978)
OKLCHoklch(79.78% 0.116 302.2)
XYZxyz(56.6005, 48.7874, 97.6831)
Luminance0.4879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBABFB #DBFBAB
analogous
#ABB3FB #CBABFB #F3ABFB
triadic
#CBABFB #FBCBAB #ABFBCB
tetradic
#CBABFB #FBABB3 #DBFBAB #ABFBF3
square
#CBABFB #FBABB3 #DBFBAB #ABFBF3
split-complementary
#CBABFB #FBF3AB #B3FBAB
monochromatic
#8336F5 #A771F8 #CBABFB #EDE2FE #EDE2FE

Accessibility & contrast

On white

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

On black

10.76
#CBABFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBABFB
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBABFB#FFFFFF#000000##000000
##CBABFB1.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB9FE
Deuteranopia (green-blind)
#A0B9F9
Tritanopia (blue-blind)
#C3B7C8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cbabfb;
/* rgb */ color: rgb(203, 171, 251);
/* oklch */ color: oklch(79.8% 0.116 302.2);
Tailwind
colors: {
  custom: {
    50: '#dcc4fd',
    500: '#cbabfb',
    950: '#000000',
  },
}
SCSS
$custom: #cbabfb;
$custom-light: #dcc4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cbabfb",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 251
  },
  "hsl": {
    "h": 264,
    "s": 90.909,
    "l": 82.745
  },
  "oklch": {
    "l": 0.79784,
    "c": 0.11559,
    "h": 302.2
  },
  "luminance": 0.48787
}

Semantic roles & 50–950 ramp

primary
#CBABFB
secondary
#E9F6D5
accent
#E6008A
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CBABFB

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

Preview Lab → · Contrast checker → · Palette generator →

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