#CAABF8#CAABF8

#CAABF8 is a light, moderate violet. Relative luminance 0.485; OKLCH L 79.6% C 0.111 H 302.4°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#CAABF8
RGBrgb(202, 171, 248)
HSLhsl(264, 85%, 82%)
HSVhsv(264, 31%, 97%)
CMYKcmyk(18.5%, 31%, 0%, 2.7%)
CIE-LABlab(75.11, 26.08, -34.15)
CIE-LCHlch(75.11, 42.97, 307.37°)
OKLaboklab(79.57% 0.0598 -0.0941)
OKLCHoklch(79.57% 0.111 302.4)
XYZxyz(55.8598, 48.4597, 95.1996)
Luminance0.4846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAABF8 #D9F8AB
analogous
#ABB3F8 #CAABF8 #F1ABF8
triadic
#CAABF8 #F8CAAB #ABF8CA
tetradic
#CAABF8 #F8ABB3 #D9F8AB #ABF8F1
square
#CAABF8 #F8ABB3 #D9F8AB #ABF8F1
split-complementary
#CAABF8 #F8F1AB #B3F8AB
monochromatic
#833AEF #A673F3 #CAABF8 #EDE3FD #EDE3FD

Accessibility & contrast

On white

1.96
#CAABF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#CAABF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAABF8
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAABF8#FFFFFF#000000##000000
##CAABF81.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB8FB
Deuteranopia (green-blind)
#A0B9F6
Tritanopia (blue-blind)
#C2B7C7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #caabf8;
/* rgb */ color: rgb(202, 171, 248);
/* oklch */ color: oklch(79.6% 0.111 302.4);
Tailwind
colors: {
  custom: {
    50: '#dbc4fa',
    500: '#caabf8',
    950: '#000000',
  },
}
SCSS
$custom: #caabf8;
$custom-light: #dbc4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#caabf8",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 248
  },
  "hsl": {
    "h": 264.156,
    "s": 84.615,
    "l": 82.157
  },
  "oklch": {
    "l": 0.79567,
    "c": 0.11148,
    "h": 302.4
  },
  "luminance": 0.4846
}

Semantic roles & 50–950 ramp

primary
#CAABF8
secondary
#E8F5D6
accent
#E10488
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAABF8

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

Preview Lab → · Contrast checker → · Palette generator →

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