#CAA8EB#CAA8EB

#CAA8EB is a light, moderate violet. Relative luminance 0.466; OKLCH L 78.5% C 0.100 H 307.4°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#CAA8EB
RGBrgb(202, 168, 235)
HSLhsl(270, 63%, 79%)
HSVhsv(270, 29%, 92%)
CMYKcmyk(14%, 28.5%, 0%, 7.8%)
CIE-LABlab(73.91, 24.92, -28.97)
CIE-LCHlch(73.91, 38.21, 310.71°)
OKLaboklab(78.48% 0.0606 -0.0794)
OKLCHoklch(78.48% 0.1 307.4)
XYZxyz(53.3524, 46.5603, 84.7575)
Luminance0.4656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA8EB #C9EBA8
analogous
#A9A8EB #CAA8EB #EBA8EB
triadic
#CAA8EB #EBCAA8 #A8EBCA
tetradic
#CAA8EB #EBA9A8 #C9EBA8 #A8EBEB
square
#CAA8EB #EBA9A8 #C9EBA8 #A8EBEB
split-complementary
#CAA8EB #EBEBA8 #A8EBA9
monochromatic
#8D44D4 #AC76E0 #CAA8EB #E8DAF6 #F0E6F9

Accessibility & contrast

On white

2.04
#CAA8EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#CAA8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA8EB
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA8EB#FFFFFF#000000##000000
##CAA8EB1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB4EE
Deuteranopia (green-blind)
#A3B6E9
Tritanopia (blue-blind)
#C6B1C0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #caa8eb;
/* rgb */ color: rgb(202, 168, 235);
/* oklch */ color: oklch(78.5% 0.100 307.4);
Tailwind
colors: {
  custom: {
    50: '#dac2f1',
    500: '#caa8eb',
    950: '#000000',
  },
}
SCSS
$custom: #caa8eb;
$custom-light: #dac2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#caa8eb",
  "rgb": {
    "r": 202,
    "g": 168,
    "b": 235
  },
  "hsl": {
    "h": 270.448,
    "s": 62.617,
    "l": 79.02
  },
  "oklch": {
    "l": 0.7848,
    "c": 0.09985,
    "h": 307.4
  },
  "luminance": 0.4656
}

Semantic roles & 50–950 ramp

primary
#CAA8EB
secondary
#E5F1DA
accent
#CA1B71
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CAA8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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