#CAA1FF#CAA1FF

#CAA1FF is a light, vivid violet. Relative luminance 0.453; OKLCH L 78.1% C 0.137 H 303.5°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#CAA1FF
RGBrgb(202, 161, 255)
HSLhsl(266, 100%, 82%)
HSVhsv(266, 37%, 100%)
CMYKcmyk(20.8%, 36.9%, 0%, 0%)
CIE-LABlab(73.07, 33.12, -41.11)
CIE-LCHlch(73.07, 52.80, 308.85°)
OKLaboklab(78.1% 0.0753 -0.114)
OKLCHoklch(78.1% 0.137 303.5)
XYZxyz(55.1482, 45.2664, 100.4203)
Luminance0.4527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA1FF #D6FFA1
analogous
#A1A7FF #CAA1FF #F9A1FF
triadic
#CAA1FF #FFCAA1 #A1FFCA
tetradic
#CAA1FF #FFA1A7 #D6FFA1 #A1FFF9
square
#CAA1FF #FFA1A7 #D6FFA1 #A1FFF9
split-complementary
#CAA1FF #FFF9A1 #A7FFA1
monochromatic
#8527FF #A764FF #CAA1FF #EDDEFF #EEE0FF

Accessibility & contrast

On white

2.09
#CAA1FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#CAA1FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA1FF
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA1FF#FFFFFF#000000##000000
##CAA1FF1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#94B3FC
Tritanopia (blue-blind)
#C1B0C4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #caa1ff;
/* rgb */ color: rgb(202, 161, 255);
/* oklch */ color: oklch(78.1% 0.137 303.5);
Tailwind
colors: {
  custom: {
    50: '#dbbdff',
    500: '#caa1ff',
    950: '#000000',
  },
}
SCSS
$custom: #caa1ff;
$custom-light: #dbbdff;
$custom-dark: #000000;
JSON
{
  "hex": "#caa1ff",
  "rgb": {
    "r": 202,
    "g": 161,
    "b": 255
  },
  "hsl": {
    "h": 266.17,
    "s": 100,
    "l": 81.569
  },
  "oklch": {
    "l": 0.781,
    "c": 0.13666,
    "h": 303.5
  },
  "luminance": 0.45266
}

Semantic roles & 50–950 ramp

primary
#CAA1FF
secondary
#E8F7D4
accent
#E60081
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAA1FF

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

Preview Lab → · Contrast checker → · Palette generator →

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