#CAA1F9#CAA1F9

#CAA1F9 is a light, vivid violet. Relative luminance 0.449; OKLCH L 77.8% C 0.129 H 305.0°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#CAA1F9
RGBrgb(202, 161, 249)
HSLhsl(268, 88%, 80%)
HSVhsv(268, 35%, 98%)
CMYKcmyk(18.9%, 35.3%, 0%, 2.4%)
CIE-LABlab(72.82, 31.79, -38.25)
CIE-LCHlch(72.82, 49.74, 309.73°)
OKLaboklab(77.83% 0.074 -0.1058)
OKLCHoklch(77.83% 0.129 305)
XYZxyz(54.1974, 44.8861, 95.4128)
Luminance0.4489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA1F9 #D0F9A1
analogous
#A1A4F9 #CAA1F9 #F6A1F9
triadic
#CAA1F9 #F9CAA1 #A1F9CA
tetradic
#CAA1F9 #F9A1A4 #D0F9A1 #A1F9F6
square
#CAA1F9 #F9A1A4 #D0F9A1 #A1F9F6
split-complementary
#CAA1F9 #F9F6A1 #A4F9A1
monochromatic
#892EF2 #AA67F5 #CAA1F9 #EADBFD #EFE2FD

Accessibility & contrast

On white

2.10
#CAA1F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#CAA1F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA1F9
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA1F9#FFFFFF#000000##000000
##CAA1F91.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB1FC
Deuteranopia (green-blind)
#97B3F7
Tritanopia (blue-blind)
#C3AEC2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #caa1f9;
/* rgb */ color: rgb(202, 161, 249);
/* oklch */ color: oklch(77.8% 0.129 305.0);
Tailwind
colors: {
  custom: {
    50: '#dbbdfb',
    500: '#caa1f9',
    950: '#000000',
  },
}
SCSS
$custom: #caa1f9;
$custom-light: #dbbdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#caa1f9",
  "rgb": {
    "r": 202,
    "g": 161,
    "b": 249
  },
  "hsl": {
    "h": 267.955,
    "s": 88,
    "l": 80.392
  },
  "oklch": {
    "l": 0.77828,
    "c": 0.12913,
    "h": 305
  },
  "luminance": 0.44886
}

Semantic roles & 50–950 ramp

primary
#CAA1F9
secondary
#E7F5D6
accent
#E5017B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAA1F9

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

Preview Lab → · Contrast checker → · Palette generator →

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