#CAA2FF#CAA2FF

#CAA2FF is a light, vivid violet. Relative luminance 0.456; OKLCH L 78.3% C 0.135 H 303.2°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#CAA2FF
RGBrgb(202, 162, 255)
HSLhsl(266, 100%, 82%)
HSVhsv(266, 36%, 100%)
CMYKcmyk(20.8%, 36.5%, 0%, 0%)
CIE-LABlab(73.30, 32.57, -40.76)
CIE-LCHlch(73.30, 52.17, 308.63°)
OKLaboklab(78.27% 0.074 -0.113)
OKLCHoklch(78.27% 0.135 303.2)
XYZxyz(55.3237, 45.6173, 100.4788)
Luminance0.4562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA2FF #D7FFA2
analogous
#A2A9FF #CAA2FF #F8A2FF
triadic
#CAA2FF #FFCAA2 #A2FFCA
tetradic
#CAA2FF #FFA2A9 #D7FFA2 #A2FFF8
square
#CAA2FF #FFA2A9 #D7FFA2 #A2FFF8
split-complementary
#CAA2FF #FFF8A2 #A9FFA2
monochromatic
#8428FF #A765FF #CAA2FF #EDDFFF #EEE0FF

Accessibility & contrast

On white

2.07
#CAA2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#CAA2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA2FF
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA2FF#FFFFFF#000000##000000
##CAA2FF1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#95B4FC
Tritanopia (blue-blind)
#C1B1C5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #caa2ff;
/* rgb */ color: rgb(202, 162, 255);
/* oklch */ color: oklch(78.3% 0.135 303.2);
Tailwind
colors: {
  custom: {
    50: '#dbbeff',
    500: '#caa2ff',
    950: '#000000',
  },
}
SCSS
$custom: #caa2ff;
$custom-light: #dbbeff;
$custom-dark: #000000;
JSON
{
  "hex": "#caa2ff",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 265.806,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.78274,
    "c": 0.13504,
    "h": 303.2
  },
  "luminance": 0.45617
}

Semantic roles & 50–950 ramp

primary
#CAA2FF
secondary
#E8F7D4
accent
#E60083
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAA2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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