#CAA2FC#CAA2FC

#CAA2FC is a light, vivid violet. Relative luminance 0.454; OKLCH L 78.1% C 0.131 H 304.0°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#CAA2FC
RGBrgb(202, 162, 252)
HSLhsl(267, 94%, 81%)
HSVhsv(267, 36%, 99%)
CMYKcmyk(19.8%, 35.7%, 0%, 1.2%)
CIE-LABlab(73.17, 31.90, -39.33)
CIE-LCHlch(73.17, 50.64, 309.05°)
OKLaboklab(78.14% 0.0733 -0.1089)
OKLCHoklch(78.14% 0.131 304)
XYZxyz(54.8445, 45.4256, 97.9553)
Luminance0.4542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA2FC #D4FCA2
analogous
#A2A7FC #CAA2FC #F7A2FC
triadic
#CAA2FC #FCCAA2 #A2FCCA
tetradic
#CAA2FC #FCA2A7 #D4FCA2 #A2FCF7
square
#CAA2FC #FCA2A7 #D4FCA2 #A2FCF7
split-complementary
#CAA2FC #FCF7A2 #A7FCA2
monochromatic
#862BF8 #A867FA #CAA2FC #ECDDFE #EEE1FE

Accessibility & contrast

On white

2.08
#CAA2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#CAA2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA2FC
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA2FC#FFFFFF#000000##000000
##CAA2FC1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB3FF
Deuteranopia (green-blind)
#96B4FA
Tritanopia (blue-blind)
#C2B0C3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #caa2fc;
/* rgb */ color: rgb(202, 162, 252);
/* oklch */ color: oklch(78.1% 0.131 304.0);
Tailwind
colors: {
  custom: {
    50: '#dbbefd',
    500: '#caa2fc',
    950: '#000000',
  },
}
SCSS
$custom: #caa2fc;
$custom-light: #dbbefd;
$custom-dark: #000000;
JSON
{
  "hex": "#caa2fc",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 266.667,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.78138,
    "c": 0.13127,
    "h": 304
  },
  "luminance": 0.45425
}

Semantic roles & 50–950 ramp

primary
#CAA2FC
secondary
#E7F6D5
accent
#E6007F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAA2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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