#CAB9FA#CAB9FA

#CAB9FA is a very light, moderate violet. Relative luminance 0.542; OKLCH L 82.2% C 0.092 H 296.3°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CAB9FA
RGBrgb(202, 185, 250)
HSLhsl(256, 87%, 85%)
HSVhsv(256, 26%, 98%)
CMYKcmyk(19.2%, 26%, 0%, 2%)
CIE-LABlab(78.55, 18.86, -29.93)
CIE-LCHlch(78.55, 35.38, 302.22°)
OKLaboklab(82.24% 0.0407 -0.0822)
OKLCHoklch(82.24% 0.092 296.3)
XYZxyz(58.9576, 54.1562, 97.7710)
Luminance0.5416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB9FA #E9FAB9
analogous
#B9C8FA #CAB9FA #EAB9FA
triadic
#CAB9FA #FACAB9 #B9FACA
tetradic
#CAB9FA #FAB9C8 #E9FAB9 #B9FAEA
square
#CAB9FA #FAB9C8 #E9FAB9 #B9FAEA
split-complementary
#CAB9FA #FAEAB9 #C8FAB9
monochromatic
#7447F2 #9F80F6 #CAB9FA #E9E2FD #E9E2FD

Accessibility & contrast

On white

1.77
#CAB9FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CAB9FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB9FA
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB9FA#FFFFFF#000000##000000
##CAB9FA1.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABC3FD
Deuteranopia (green-blind)
#ADC2F8
Tritanopia (blue-blind)
#C1C3D0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cab9fa;
/* rgb */ color: rgb(202, 185, 250);
/* oklch */ color: oklch(82.2% 0.092 296.3);
Tailwind
colors: {
  custom: {
    50: '#dbcefc',
    500: '#cab9fa',
    950: '#000000',
  },
}
SCSS
$custom: #cab9fa;
$custom-light: #dbcefc;
$custom-dark: #000000;
JSON
{
  "hex": "#cab9fa",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 250
  },
  "hsl": {
    "h": 255.692,
    "s": 86.667,
    "l": 85.294
  },
  "oklch": {
    "l": 0.82235,
    "c": 0.09169,
    "h": 296.3
  },
  "luminance": 0.54157
}

Semantic roles & 50–950 ramp

primary
#CAB9FA
secondary
#C4DE79
accent
#E302A8
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #CAB9FA

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

Preview Lab → · Contrast checker → · Palette generator →

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