#CAA2EF#CAA2EF

#CAA2EF is a light, moderate violet. Relative luminance 0.446; OKLCH L 77.6% C 0.115 H 307.7°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#CAA2EF
RGBrgb(202, 162, 239)
HSLhsl(271, 71%, 79%)
HSVhsv(271, 32%, 94%)
CMYKcmyk(15.5%, 32.2%, 0%, 6.3%)
CIE-LABlab(72.65, 29.07, -33.08)
CIE-LCHlch(72.65, 44.04, 311.30°)
OKLaboklab(77.57% 0.0703 -0.091)
OKLCHoklch(77.57% 0.115 307.7)
XYZxyz(52.8545, 44.6296, 87.4746)
Luminance0.4463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA2EF #C7EFA2
analogous
#A3A2EF #CAA2EF #EFA2ED
triadic
#CAA2EF #EFCAA2 #A2EFCA
tetradic
#CAA2EF #EFA3A2 #C7EFA2 #A2EDEF
square
#CAA2EF #EFA3A2 #C7EFA2 #A2EDEF
split-complementary
#CAA2EF #EDEFA2 #A2EFA3
monochromatic
#8E3ADD #AC6EE6 #CAA2EF #E8D6F8 #F0E5FB

Accessibility & contrast

On white

2.12
#CAA2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#CAA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA2EF
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA2EF#FFFFFF#000000##000000
##CAA2EF1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B1F2
Deuteranopia (green-blind)
#9CB3ED
Tritanopia (blue-blind)
#C5ADBE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #caa2ef;
/* rgb */ color: rgb(202, 162, 239);
/* oklch */ color: oklch(77.6% 0.115 307.7);
Tailwind
colors: {
  custom: {
    50: '#dbbef4',
    500: '#caa2ef',
    950: '#000000',
  },
}
SCSS
$custom: #caa2ef;
$custom-light: #dbbef4;
$custom-dark: #000000;
JSON
{
  "hex": "#caa2ef",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 271.169,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77567,
    "c": 0.11498,
    "h": 307.7
  },
  "luminance": 0.44629
}

Semantic roles & 50–950 ramp

primary
#CAA2EF
secondary
#E5F2D9
accent
#D3136F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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