#CAA7EA#CAA7EA

#CAA7EA is a light, moderate violet. Relative luminance 0.461; OKLCH L 78.3% C 0.100 H 308.0°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#CAA7EA
RGBrgb(202, 167, 234)
HSLhsl(271, 61%, 79%)
HSVhsv(271, 29%, 92%)
CMYKcmyk(13.7%, 28.6%, 0%, 8.2%)
CIE-LABlab(73.63, 25.26, -28.84)
CIE-LCHlch(73.63, 38.34, 311.21°)
OKLaboklab(78.26% 0.0618 -0.079)
OKLCHoklch(78.26% 0.1 308)
XYZxyz(53.0244, 46.1349, 83.9375)
Luminance0.4613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA7EA #C7EAA7
analogous
#A8A7EA #CAA7EA #EAA7E8
triadic
#CAA7EA #EACAA7 #A7EACA
tetradic
#CAA7EA #EAA8A7 #C7EAA7 #A7E8EA
square
#CAA7EA #EAA8A7 #C7EAA7 #A7E8EA
split-complementary
#CAA7EA #E8EAA7 #A7EAA8
monochromatic
#8E44D2 #AC76DE #CAA7EA #E8D8F6 #F0E6F9

Accessibility & contrast

On white

2.05
#CAA7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#CAA7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA7EA
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA7EA#FFFFFF#000000##000000
##CAA7EA1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB3ED
Deuteranopia (green-blind)
#A2B5E8
Tritanopia (blue-blind)
#C6B0BF
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #caa7ea;
/* rgb */ color: rgb(202, 167, 234);
/* oklch */ color: oklch(78.3% 0.100 308.0);
Tailwind
colors: {
  custom: {
    50: '#dac1f1',
    500: '#caa7ea',
    950: '#000000',
  },
}
SCSS
$custom: #caa7ea;
$custom-light: #dac1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#caa7ea",
  "rgb": {
    "r": 202,
    "g": 167,
    "b": 234
  },
  "hsl": {
    "h": 271.343,
    "s": 61.468,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78257,
    "c": 0.10029,
    "h": 308
  },
  "luminance": 0.46135
}

Semantic roles & 50–950 ramp

primary
#CAA7EA
secondary
#E5F0DB
accent
#C91C6F
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CAA7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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