#CABAFF#CABAFF

#CABAFF is a very light, moderate violet. Relative luminance 0.549; OKLCH L 82.6% C 0.097 H 294.8°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CABAFF
RGBrgb(202, 186, 255)
HSLhsl(254, 100%, 86%)
HSVhsv(254, 27%, 100%)
CMYKcmyk(20.8%, 27.1%, 0%, 0%)
CIE-LABlab(78.98, 19.43, -31.95)
CIE-LCHlch(78.98, 37.40, 301.31°)
OKLaboklab(82.63% 0.0407 -0.0879)
OKLCHoklch(82.63% 0.097 294.8)
XYZxyz(59.9619, 54.8938, 102.0249)
Luminance0.5489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABAFF #EFFFBA
analogous
#BACDFF #CABAFF #EDBAFF
triadic
#CABAFF #FFCABA #BAFFCA
tetradic
#CABAFF #FFBACD #EFFFBA #BAFFED
square
#CABAFF #FFBACD #EFFFBA #BAFFED
split-complementary
#CABAFF #FFEDBA #CDFFBA
monochromatic
#6C40FF #9B7DFF #CABAFF #E7E0FF #E7E0FF

Accessibility & contrast

On white

1.75
#CABAFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#CABAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABAFF
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABAFF#FFFFFF#000000##000000
##CABAFF1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAC4FF
Deuteranopia (green-blind)
#ACC3FD
Tritanopia (blue-blind)
#C0C5D2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cabaff;
/* rgb */ color: rgb(202, 186, 255);
/* oklch */ color: oklch(82.6% 0.097 294.8);
Tailwind
colors: {
  custom: {
    50: '#dbceff',
    500: '#cabaff',
    950: '#000000',
  },
}
SCSS
$custom: #cabaff;
$custom-light: #dbceff;
$custom-dark: #000000;
JSON
{
  "hex": "#cabaff",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 255
  },
  "hsl": {
    "h": 253.913,
    "s": 100,
    "l": 86.471
  },
  "oklch": {
    "l": 0.82625,
    "c": 0.09688,
    "h": 294.8
  },
  "luminance": 0.54894
}

Semantic roles & 50–950 ramp

primary
#CABAFF
secondary
#CDE776
accent
#E600B0
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151318
muted
#848386

Preview Lab

Preview with #CABAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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