#CAA2F8#CAA2F8

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

Color values

HEX#CAA2F8
RGBrgb(202, 162, 248)
HSLhsl(268, 86%, 80%)
HSVhsv(268, 35%, 97%)
CMYKcmyk(18.5%, 34.7%, 0%, 2.7%)
CIE-LABlab(73.01, 31.02, -37.42)
CIE-LCHlch(73.01, 48.60, 309.66°)
OKLaboklab(77.96% 0.0724 -0.1034)
OKLCHoklch(77.96% 0.126 305)
XYZxyz(54.2173, 45.1748, 94.6521)
Luminance0.4517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA2F8 #D0F8A2
analogous
#A2A5F8 #CAA2F8 #F5A2F8
triadic
#CAA2F8 #F8CAA2 #A2F8CA
tetradic
#CAA2F8 #F8A2A5 #D0F8A2 #A2F8F5
square
#CAA2F8 #F8A2A5 #D0F8A2 #A2F8F5
split-complementary
#CAA2F8 #F8F5A2 #A5F8A2
monochromatic
#8930EF #AA69F4 #CAA2F8 #EADBFC #EFE3FD

Accessibility & contrast

On white

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

On black

10.04
#CAA2F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA2F8
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA2F8#FFFFFF#000000##000000
##CAA2F81.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B2FB
Deuteranopia (green-blind)
#98B3F6
Tritanopia (blue-blind)
#C3AFC2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #caa2f8;
/* rgb */ color: rgb(202, 162, 248);
/* oklch */ color: oklch(78.0% 0.126 305.0);
Tailwind
colors: {
  custom: {
    50: '#dbbefb',
    500: '#caa2f8',
    950: '#000000',
  },
}
SCSS
$custom: #caa2f8;
$custom-light: #dbbefb;
$custom-dark: #000000;
JSON
{
  "hex": "#caa2f8",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 248
  },
  "hsl": {
    "h": 267.907,
    "s": 86,
    "l": 80.392
  },
  "oklch": {
    "l": 0.77959,
    "c": 0.12623,
    "h": 305
  },
  "luminance": 0.45175
}

Semantic roles & 50–950 ramp

primary
#CAA2F8
secondary
#E7F5D6
accent
#E3037B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAA2F8

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

Preview Lab → · Contrast checker → · Palette generator →

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