#CAA2F9#CAA2F9

#CAA2F9 is a light, vivid violet. Relative luminance 0.452; OKLCH L 78.0% C 0.128 H 304.7°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#CAA2F9
RGBrgb(202, 162, 249)
HSLhsl(268, 88%, 81%)
HSVhsv(268, 35%, 98%)
CMYKcmyk(18.9%, 34.9%, 0%, 2.4%)
CIE-LABlab(73.05, 31.24, -37.90)
CIE-LCHlch(73.05, 49.11, 309.50°)
OKLaboklab(78% 0.0726 -0.1048)
OKLCHoklch(78% 0.128 304.7)
XYZxyz(54.3729, 45.2370, 95.4713)
Luminance0.4524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA2F9 #D1F9A2
analogous
#A2A5F9 #CAA2F9 #F5A2F9
triadic
#CAA2F9 #F9CAA2 #A2F9CA
tetradic
#CAA2F9 #F9A2A5 #D1F9A2 #A2F9F5
square
#CAA2F9 #F9A2A5 #D1F9A2 #A2F9F5
split-complementary
#CAA2F9 #F9F5A2 #A5F9A2
monochromatic
#882FF2 #A969F5 #CAA2F9 #EBDBFD #EFE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAA2F9#FFFFFF#000000##000000
##CAA2F91.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)
#8FB2FC
Deuteranopia (green-blind)
#98B3F7
Tritanopia (blue-blind)
#C3AFC2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #caa2f9;
/* rgb */ color: rgb(202, 162, 249);
/* oklch */ color: oklch(78.0% 0.128 304.7);
Tailwind
colors: {
  custom: {
    50: '#dbbefb',
    500: '#caa2f9',
    950: '#000000',
  },
}
SCSS
$custom: #caa2f9;
$custom-light: #dbbefb;
$custom-dark: #000000;
JSON
{
  "hex": "#caa2f9",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 249
  },
  "hsl": {
    "h": 267.586,
    "s": 87.879,
    "l": 80.588
  },
  "oklch": {
    "l": 0.78003,
    "c": 0.1275,
    "h": 304.7
  },
  "luminance": 0.45237
}

Semantic roles & 50–950 ramp

primary
#CAA2F9
secondary
#E7F5D6
accent
#E4017C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAA2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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