#CBABFF#CBABFF

#CBABFF is a light, vivid violet. Relative luminance 0.490; OKLCH L 80.0% C 0.121 H 301.2°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#CBABFF
RGBrgb(203, 171, 255)
HSLhsl(263, 100%, 84%)
HSVhsv(263, 33%, 100%)
CMYKcmyk(20.4%, 32.9%, 0%, 0%)
CIE-LABlab(75.48, 27.93, -37.36)
CIE-LCHlch(75.48, 46.65, 306.79°)
OKLaboklab(79.96% 0.0626 -0.1033)
OKLCHoklch(79.96% 0.121 301.2)
XYZxyz(57.2377, 49.0422, 101.0390)
Luminance0.4904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBABFF #DFFFAB
analogous
#ABB5FF #CBABFF #F5ABFF
triadic
#CBABFF #FFCBAB #ABFFCB
tetradic
#CBABFF #FFABB5 #DFFFAB #ABFFF5
square
#CBABFF #FFABB5 #DFFFAB #ABFFF5
split-complementary
#CBABFF #FFF5AB #B5FFAB
monochromatic
#7F31FF #A56EFF #CBABFF #ECE0FF #ECE0FF

Accessibility & contrast

On white

1.94
#CBABFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#CBABFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBABFF
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBABFF#FFFFFF#000000##000000
##CBABFF1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B9FF
Deuteranopia (green-blind)
#9EBAFD
Tritanopia (blue-blind)
#C2B8CA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cbabff;
/* rgb */ color: rgb(203, 171, 255);
/* oklch */ color: oklch(80.0% 0.121 301.2);
Tailwind
colors: {
  custom: {
    50: '#dcc4ff',
    500: '#cbabff',
    950: '#000000',
  },
}
SCSS
$custom: #cbabff;
$custom-light: #dcc4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cbabff",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 255
  },
  "hsl": {
    "h": 262.857,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.79957,
    "c": 0.12075,
    "h": 301.2
  },
  "luminance": 0.49042
}

Semantic roles & 50–950 ramp

primary
#CBABFF
secondary
#EAF7D4
accent
#E6008E
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CBABFF

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

Preview Lab → · Contrast checker → · Palette generator →

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