#CAABFC#CAABFC

#CAABFC is a light, moderate violet. Relative luminance 0.487; OKLCH L 79.7% C 0.117 H 301.4°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CAABFC
RGBrgb(202, 171, 252)
HSLhsl(263, 93%, 83%)
HSVhsv(263, 32%, 99%)
CMYKcmyk(19.8%, 32.1%, 0%, 1.2%)
CIE-LABlab(75.27, 26.97, -36.07)
CIE-LCHlch(75.27, 45.04, 306.79°)
OKLaboklab(79.74% 0.0608 -0.0996)
OKLCHoklch(79.74% 0.117 301.4)
XYZxyz(56.4870, 48.7106, 98.5028)
Luminance0.4871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAABFC #DDFCAB
analogous
#ABB4FC #CAABFC #F2ABFC
triadic
#CAABFC #FCCAAB #ABFCCA
tetradic
#CAABFC #FCABB4 #DDFCAB #ABFCF2
square
#CAABFC #FCABB4 #DDFCAB #ABFCF2
split-complementary
#CAABFC #FCF2AB #B4FCAB
monochromatic
#7F35F8 #A570FA #CAABFC #ECE1FE #ECE1FE

Accessibility & contrast

On white

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

On black

10.74
#CAABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAABFC
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAABFC#FFFFFF#000000##000000
##CAABFC1.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caabfc;
/* rgb */ color: rgb(202, 171, 252);
/* oklch */ color: oklch(79.7% 0.117 301.4);
Tailwind
colors: {
  custom: {
    50: '#dbc4fd',
    500: '#caabfc',
    950: '#000000',
  },
}
SCSS
$custom: #caabfc;
$custom-light: #dbc4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#caabfc",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 262.963,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.79739,
    "c": 0.11665,
    "h": 301.4
  },
  "luminance": 0.48711
}

Semantic roles & 50–950 ramp

primary
#CAABFC
secondary
#E9F6D5
accent
#E6008E
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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