#CAA8FA#CAA8FA

#CAA8FA is a light, moderate violet. Relative luminance 0.475; OKLCH L 79.1% C 0.119 H 302.8°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#CAA8FA
RGBrgb(202, 168, 250)
HSLhsl(265, 89%, 82%)
HSVhsv(265, 33%, 98%)
CMYKcmyk(19.2%, 32.8%, 0%, 2%)
CIE-LABlab(74.49, 28.17, -36.20)
CIE-LCHlch(74.49, 45.87, 307.89°)
OKLaboklab(79.11% 0.0645 -0.1)
OKLCHoklch(79.11% 0.119 302.8)
XYZxyz(55.6115, 47.4640, 96.6557)
Luminance0.4746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA8FA #D8FAA8
analogous
#A8AFFA #CAA8FA #F3A8FA
triadic
#CAA8FA #FACAA8 #A8FACA
tetradic
#CAA8FA #FAA8AF #D8FAA8 #A8FAF3
square
#CAA8FA #FAA8AF #D8FAA8 #A8FAF3
split-complementary
#CAA8FA #FAF3A8 #AFFAA8
monochromatic
#8334F3 #A76EF7 #CAA8FA #EDE2FD #EDE2FD

Accessibility & contrast

On white

2.00
#CAA8FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#CAA8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA8FA
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA8FA#FFFFFF#000000##000000
##CAA8FA1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B6FD
Deuteranopia (green-blind)
#9DB7F8
Tritanopia (blue-blind)
#C2B5C6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #caa8fa;
/* rgb */ color: rgb(202, 168, 250);
/* oklch */ color: oklch(79.1% 0.119 302.8);
Tailwind
colors: {
  custom: {
    50: '#dbc2fc',
    500: '#caa8fa',
    950: '#000000',
  },
}
SCSS
$custom: #caa8fa;
$custom-light: #dbc2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#caa8fa",
  "rgb": {
    "r": 202,
    "g": 168,
    "b": 250
  },
  "hsl": {
    "h": 264.878,
    "s": 89.13,
    "l": 81.961
  },
  "oklch": {
    "l": 0.79113,
    "c": 0.11894,
    "h": 302.8
  },
  "luminance": 0.47464
}

Semantic roles & 50–950 ramp

primary
#CAA8FA
secondary
#E8F5D6
accent
#E60086
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAA8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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