#CAA2FA#CAA2FA

#CAA2FA is a light, vivid violet. Relative luminance 0.453; OKLCH L 78.0% C 0.129 H 304.5°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#CAA2FA
RGBrgb(202, 162, 250)
HSLhsl(267, 90%, 81%)
HSVhsv(267, 35%, 98%)
CMYKcmyk(19.2%, 35.2%, 0%, 2%)
CIE-LABlab(73.09, 31.46, -38.37)
CIE-LCHlch(73.09, 49.62, 309.35°)
OKLaboklab(78.05% 0.0729 -0.1061)
OKLCHoklch(78.05% 0.129 304.5)
XYZxyz(54.5293, 45.2995, 96.2949)
Luminance0.4530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA2FA #D2FAA2
analogous
#A2A6FA #CAA2FA #F6A2FA
triadic
#CAA2FA #FACAA2 #A2FACA
tetradic
#CAA2FA #FAA2A6 #D2FAA2 #A2FAF6
square
#CAA2FA #FAA2A6 #D2FAA2 #A2FAF6
split-complementary
#CAA2FA #FAF6A2 #A6FAA2
monochromatic
#882EF4 #A968F7 #CAA2FA #EBDCFD #EEE2FD

Accessibility & contrast

On white

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

On black

10.06
#CAA2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA2FA
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA2FA#FFFFFF#000000##000000
##CAA2FA1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB2FD
Deuteranopia (green-blind)
#97B4F8
Tritanopia (blue-blind)
#C3AFC3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #caa2fa;
/* rgb */ color: rgb(202, 162, 250);
/* oklch */ color: oklch(78.0% 0.129 304.5);
Tailwind
colors: {
  custom: {
    50: '#dbbefc',
    500: '#caa2fa',
    950: '#000000',
  },
}
SCSS
$custom: #caa2fa;
$custom-light: #dbbefc;
$custom-dark: #000000;
JSON
{
  "hex": "#caa2fa",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 267.273,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.78048,
    "c": 0.12875,
    "h": 304.5
  },
  "luminance": 0.45299
}

Semantic roles & 50–950 ramp

primary
#CAA2FA
secondary
#E7F6D5
accent
#E6007D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAA2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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