#CAABFD#CAABFD

#CAABFD is a light, moderate violet. Relative luminance 0.488; OKLCH L 79.8% C 0.118 H 301.1°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#CAABFD
RGBrgb(202, 171, 253)
HSLhsl(263, 95%, 83%)
HSVhsv(263, 32%, 99%)
CMYKcmyk(20.2%, 32.4%, 0%, 0.8%)
CIE-LABlab(75.31, 27.19, -36.55)
CIE-LCHlch(75.31, 45.55, 306.65°)
OKLaboklab(79.78% 0.061 -0.1009)
OKLCHoklch(79.78% 0.118 301.1)
XYZxyz(56.6459, 48.7741, 99.3395)
Luminance0.4877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAABFD #DEFDAB
analogous
#ABB5FD #CAABFD #F3ABFD
triadic
#CAABFD #FDCAAB #ABFDCA
tetradic
#CAABFD #FDABB5 #DEFDAB #ABFDF3
square
#CAABFD #FDABB5 #DEFDAB #ABFDF3
split-complementary
#CAABFD #FDF3AB #B5FDAB
monochromatic
#7F33FA #A46FFC #CAABFD #ECE1FE #ECE1FE

Accessibility & contrast

On white

1.95
#CAABFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#CAABFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAABFD
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAABFD#FFFFFF#000000##000000
##CAABFD1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B9FF
Deuteranopia (green-blind)
#9EB9FB
Tritanopia (blue-blind)
#C1B8C9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #caabfd;
/* rgb */ color: rgb(202, 171, 253);
/* oklch */ color: oklch(79.8% 0.118 301.1);
Tailwind
colors: {
  custom: {
    50: '#dbc4fe',
    500: '#caabfd',
    950: '#000000',
  },
}
SCSS
$custom: #caabfd;
$custom-light: #dbc4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#caabfd",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 253
  },
  "hsl": {
    "h": 262.683,
    "s": 95.349,
    "l": 83.137
  },
  "oklch": {
    "l": 0.79783,
    "c": 0.11794,
    "h": 301.1
  },
  "luminance": 0.48774
}

Semantic roles & 50–950 ramp

primary
#CAABFD
secondary
#EAF7D4
accent
#E6008F
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAABFD

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

Preview Lab → · Contrast checker → · Palette generator →

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