#CABAFE#CABAFE

#CABAFE is a very light, moderate violet. Relative luminance 0.548; OKLCH L 82.6% C 0.096 H 295.0°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CABAFE
RGBrgb(202, 186, 254)
HSLhsl(254, 97%, 86%)
HSVhsv(254, 27%, 100%)
CMYKcmyk(20.5%, 26.8%, 0%, 0.4%)
CIE-LABlab(78.94, 19.21, -31.47)
CIE-LCHlch(78.94, 36.87, 301.39°)
OKLaboklab(82.59% 0.0404 -0.0866)
OKLCHoklch(82.59% 0.096 295)
XYZxyz(59.8014, 54.8296, 101.1793)
Luminance0.5483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABAFE #EEFEBA
analogous
#BACCFE #CABAFE #ECBAFE
triadic
#CABAFE #FECABA #BAFECA
tetradic
#CABAFE #FEBACC #EEFEBA #BAFEEC
square
#CABAFE #FEBACC #EEFEBA #BAFEEC
split-complementary
#CABAFE #FEECBA #CCFEBA
monochromatic
#6D41FC #9C7EFD #CABAFE #E8E1FF #E8E1FF

Accessibility & contrast

On white

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

On black

11.97
#CABAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABAFE
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABAFE#FFFFFF#000000##000000
##CABAFE1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cabafe;
/* rgb */ color: rgb(202, 186, 254);
/* oklch */ color: oklch(82.6% 0.096 295.0);
Tailwind
colors: {
  custom: {
    50: '#dbceff',
    500: '#cabafe',
    950: '#000000',
  },
}
SCSS
$custom: #cabafe;
$custom-light: #dbceff;
$custom-dark: #000000;
JSON
{
  "hex": "#cabafe",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 254
  },
  "hsl": {
    "h": 254.118,
    "s": 97.143,
    "l": 86.275
  },
  "oklch": {
    "l": 0.82585,
    "c": 0.09553,
    "h": 295
  },
  "luminance": 0.5483
}

Semantic roles & 50–950 ramp

primary
#CABAFE
secondary
#CBE577
accent
#E600AF
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151318
muted
#848386

Preview Lab

Preview with #CABAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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