#CAA8FE#CAA8FE

#CAA8FE is a light, vivid violet. Relative luminance 0.477; OKLCH L 79.3% C 0.124 H 301.8°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#CAA8FE
RGBrgb(202, 168, 254)
HSLhsl(264, 98%, 83%)
HSVhsv(264, 34%, 100%)
CMYKcmyk(20.5%, 33.9%, 0%, 0.4%)
CIE-LABlab(74.65, 29.06, -38.12)
CIE-LCHlch(74.65, 47.93, 307.32°)
OKLaboklab(79.29% 0.0654 -0.1054)
OKLCHoklch(79.29% 0.124 301.8)
XYZxyz(56.2453, 47.7175, 99.9940)
Luminance0.4772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA8FE #DCFEA8
analogous
#A8B1FE #CAA8FE #F5A8FE
triadic
#CAA8FE #FECAA8 #A8FECA
tetradic
#CAA8FE #FEA8B1 #DCFEA8 #A8FEF5
square
#CAA8FE #FEA8B1 #DCFEA8 #A8FEF5
split-complementary
#CAA8FE #FEF5A8 #B1FEA8
monochromatic
#802FFD #A56BFD #CAA8FE #EDE1FF #EDE1FF

Accessibility & contrast

On white

1.99
#CAA8FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#CAA8FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA8FE
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA8FE#FFFFFF#000000##000000
##CAA8FE1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B7FF
Deuteranopia (green-blind)
#9BB7FC
Tritanopia (blue-blind)
#C1B5C8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #caa8fe;
/* rgb */ color: rgb(202, 168, 254);
/* oklch */ color: oklch(79.3% 0.124 301.8);
Tailwind
colors: {
  custom: {
    50: '#dbc2ff',
    500: '#caa8fe',
    950: '#000000',
  },
}
SCSS
$custom: #caa8fe;
$custom-light: #dbc2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#caa8fe",
  "rgb": {
    "r": 202,
    "g": 168,
    "b": 254
  },
  "hsl": {
    "h": 263.721,
    "s": 97.727,
    "l": 82.745
  },
  "oklch": {
    "l": 0.79289,
    "c": 0.12407,
    "h": 301.8
  },
  "luminance": 0.47718
}

Semantic roles & 50–950 ramp

primary
#CAA8FE
secondary
#E9F7D4
accent
#E6008B
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAA8FE

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

Preview Lab → · Contrast checker → · Palette generator →

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