#CAB4FA#CAB4FA

#CAB4FA is a light, moderate violet. Relative luminance 0.521; OKLCH L 81.3% C 0.100 H 298.6°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CAB4FA
RGBrgb(202, 180, 250)
HSLhsl(259, 88%, 84%)
HSVhsv(259, 28%, 98%)
CMYKcmyk(19.2%, 28%, 0%, 2%)
CIE-LABlab(77.34, 21.60, -31.79)
CIE-LCHlch(77.34, 38.43, 304.19°)
OKLaboklab(81.3% 0.0477 -0.0874)
OKLCHoklch(81.3% 0.1 298.6)
XYZxyz(57.9300, 52.1009, 97.4285)
Luminance0.5210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB4FA #E4FAB4
analogous
#B4C1FA #CAB4FA #EDB4FA
triadic
#CAB4FA #FACAB4 #B4FACA
tetradic
#CAB4FA #FAB4C1 #E4FAB4 #B4FAED
square
#CAB4FA #FAB4C1 #E4FAB4 #B4FAED
split-complementary
#CAB4FA #FAEDB4 #C1FAB4
monochromatic
#7941F2 #A17BF6 #CAB4FA #EBE2FD #EBE2FD

Accessibility & contrast

On white

1.84
#CAB4FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CAB4FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB4FA
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB4FA#FFFFFF#000000##000000
##CAB4FA1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BFFD
Deuteranopia (green-blind)
#A8BEF8
Tritanopia (blue-blind)
#C1BFCD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cab4fa;
/* rgb */ color: rgb(202, 180, 250);
/* oklch */ color: oklch(81.3% 0.100 298.6);
Tailwind
colors: {
  custom: {
    50: '#dbcafc',
    500: '#cab4fa',
    950: '#000000',
  },
}
SCSS
$custom: #cab4fa;
$custom-light: #dbcafc;
$custom-dark: #000000;
JSON
{
  "hex": "#cab4fa",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 250
  },
  "hsl": {
    "h": 258.857,
    "s": 87.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.81302,
    "c": 0.09958,
    "h": 298.6
  },
  "luminance": 0.52101
}

Semantic roles & 50–950 ramp

primary
#CAB4FA
secondary
#BDDE74
accent
#E4019D
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CAB4FA

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

Preview Lab → · Contrast checker → · Palette generator →

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