#CAA8DF#CAA8DF

#CAA8DF is a light, moderate violet. Relative luminance 0.459; OKLCH L 78.0% C 0.085 H 312.3°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#CAA8DF
RGBrgb(202, 168, 223)
HSLhsl(277, 46%, 77%)
HSVhsv(277, 25%, 87%)
CMYKcmyk(9.4%, 24.7%, 0%, 12.5%)
CIE-LABlab(73.47, 22.43, -23.09)
CIE-LCHlch(73.47, 32.19, 314.16°)
OKLaboklab(78% 0.0572 -0.0628)
OKLCHoklch(78% 0.085 312.3)
XYZxyz(51.6768, 45.8901, 75.9331)
Luminance0.4589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA8DF #BDDFA8
analogous
#AFA8DF #CAA8DF #DFA8D9
triadic
#CAA8DF #DFCAA8 #A8DFCA
tetradic
#CAA8DF #DFAFA8 #BDDFA8 #A8D9DF
square
#CAA8DF #DFAFA8 #BDDFA8 #A8D9DF
split-complementary
#CAA8DF #D9DFA8 #A8DFAF
monochromatic
#934FBE #AF7BCF #CAA8DF #E5D5EF #F1E9F7

Accessibility & contrast

On white

2.06
#CAA8DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#CAA8DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA8DF
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA8DF#FFFFFF#000000##000000
##CAA8DF1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B3E1
Deuteranopia (green-blind)
#A7B5DD
Tritanopia (blue-blind)
#C8AFBB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #caa8df;
/* rgb */ color: rgb(202, 168, 223);
/* oklch */ color: oklch(78.0% 0.085 312.3);
Tailwind
colors: {
  custom: {
    50: '#dac2e9',
    500: '#caa8df',
    950: '#000000',
  },
}
SCSS
$custom: #caa8df;
$custom-light: #dac2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#caa8df",
  "rgb": {
    "r": 202,
    "g": 168,
    "b": 223
  },
  "hsl": {
    "h": 277.091,
    "s": 46.218,
    "l": 76.667
  },
  "oklch": {
    "l": 0.78004,
    "c": 0.08493,
    "h": 312.3
  },
  "luminance": 0.4589
}

Semantic roles & 50–950 ramp

primary
#CAA8DF
secondary
#E4EEDD
accent
#B92C62
background
#FDFBFE
surface
#FBF7FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CAA8DF

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

Preview Lab → · Contrast checker → · Palette generator →

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