#CAA2F7#CAA2F7

#CAA2F7 is a light, vivid violet. Relative luminance 0.451; OKLCH L 77.9% C 0.125 H 305.3°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#CAA2F7
RGBrgb(202, 162, 247)
HSLhsl(268, 84%, 80%)
HSVhsv(268, 34%, 97%)
CMYKcmyk(18.2%, 34.4%, 0%, 3.1%)
CIE-LABlab(72.97, 30.80, -36.94)
CIE-LCHlch(72.97, 48.09, 309.82°)
OKLaboklab(77.92% 0.0722 -0.102)
OKLCHoklch(77.92% 0.125 305.3)
XYZxyz(54.0626, 45.1129, 93.8372)
Luminance0.4511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA2F7 #CFF7A2
analogous
#A2A5F7 #CAA2F7 #F4A2F7
triadic
#CAA2F7 #F7CAA2 #A2F7CA
tetradic
#CAA2F7 #F7A2A5 #CFF7A2 #A2F7F4
square
#CAA2F7 #F7A2A5 #CFF7A2 #A2F7F4
split-complementary
#CAA2F7 #F7F4A2 #A5F7A2
monochromatic
#8A31ED #AA6AF2 #CAA2F7 #EADAFC #EFE3FD

Accessibility & contrast

On white

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

On black

10.02
#CAA2F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA2F7
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA2F7#FFFFFF#000000##000000
##CAA2F71.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B2FA
Deuteranopia (green-blind)
#98B3F5
Tritanopia (blue-blind)
#C3AFC1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #caa2f7;
/* rgb */ color: rgb(202, 162, 247);
/* oklch */ color: oklch(77.9% 0.125 305.3);
Tailwind
colors: {
  custom: {
    50: '#dbbefa',
    500: '#caa2f7',
    950: '#000000',
  },
}
SCSS
$custom: #caa2f7;
$custom-light: #dbbefa;
$custom-dark: #000000;
JSON
{
  "hex": "#caa2f7",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 247
  },
  "hsl": {
    "h": 268.235,
    "s": 84.158,
    "l": 80.196
  },
  "oklch": {
    "l": 0.77915,
    "c": 0.12498,
    "h": 305.3
  },
  "luminance": 0.45113
}

Semantic roles & 50–950 ramp

primary
#CAA2F7
secondary
#E6F5D6
accent
#E10579
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAA2F7

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

Preview Lab → · Contrast checker → · Palette generator →

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