#CAA4EF#CAA4EF

#CAA4EF is a light, moderate violet. Relative luminance 0.453; OKLCH L 77.9% C 0.112 H 307.1°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#CAA4EF
RGBrgb(202, 164, 239)
HSLhsl(270, 70%, 79%)
HSVhsv(270, 31%, 94%)
CMYKcmyk(15.5%, 31.4%, 0%, 6.3%)
CIE-LABlab(73.12, 27.97, -32.36)
CIE-LCHlch(73.12, 42.77, 310.84°)
OKLaboklab(77.92% 0.0674 -0.089)
OKLCHoklch(77.92% 0.112 307.1)
XYZxyz(53.2096, 45.3398, 87.5929)
Luminance0.4534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA4EF #C9EFA4
analogous
#A5A4EF #CAA4EF #EFA4EF
triadic
#CAA4EF #EFCAA4 #A4EFCA
tetradic
#CAA4EF #EFA5A4 #C9EFA4 #A4EFEF
square
#CAA4EF #EFA5A4 #C9EFA4 #A4EFEF
split-complementary
#CAA4EF #EFEFA4 #A4EFA5
monochromatic
#8D3CDD #AC70E6 #CAA4EF #E8D8F8 #F0E5FA

Accessibility & contrast

On white

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

On black

10.07
#CAA4EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA4EF
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA4EF#FFFFFF#000000##000000
##CAA4EF1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B2F2
Deuteranopia (green-blind)
#9EB4ED
Tritanopia (blue-blind)
#C5AFBF
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #caa4ef;
/* rgb */ color: rgb(202, 164, 239);
/* oklch */ color: oklch(77.9% 0.112 307.1);
Tailwind
colors: {
  custom: {
    50: '#dbbff4',
    500: '#caa4ef',
    950: '#000000',
  },
}
SCSS
$custom: #caa4ef;
$custom-light: #dbbff4;
$custom-dark: #000000;
JSON
{
  "hex": "#caa4ef",
  "rgb": {
    "r": 202,
    "g": 164,
    "b": 239
  },
  "hsl": {
    "h": 270.4,
    "s": 70.093,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77924,
    "c": 0.11163,
    "h": 307.1
  },
  "luminance": 0.45339
}

Semantic roles & 50–950 ramp

primary
#CAA4EF
secondary
#E5F2D9
accent
#D21371
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA4EF

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

Preview Lab → · Contrast checker → · Palette generator →

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