#CAA7DC#CAA7DC

#CAA7DC is a light, moderate violet. Relative luminance 0.454; OKLCH L 77.7% C 0.083 H 314.0°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#CAA7DC
RGBrgb(202, 167, 220)
HSLhsl(280, 43%, 76%)
HSVhsv(280, 24%, 86%)
CMYKcmyk(8.2%, 24.1%, 0%, 13.7%)
CIE-LABlab(73.13, 22.37, -21.98)
CIE-LCHlch(73.13, 31.36, 315.50°)
OKLaboklab(77.71% 0.0577 -0.0597)
OKLCHoklch(77.71% 0.083 314)
XYZxyz(51.0920, 45.3620, 73.7605)
Luminance0.4536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA7DC #B9DCA7
analogous
#AFA7DC #CAA7DC #DCA7D3
triadic
#CAA7DC #DCCAA7 #A7DCCA
tetradic
#CAA7DC #DCAFA7 #B9DCA7 #A7D3DC
square
#CAA7DC #DCAFA7 #B9DCA7 #A7D3DC
split-complementary
#CAA7DC #D3DCA7 #A7DCAF
monochromatic
#954FB9 #B07BCB #CAA7DC #E4D3ED #F2E9F6

Accessibility & contrast

On white

2.08
#CAA7DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#CAA7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA7DC
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA7DC#FFFFFF#000000##000000
##CAA7DC1.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B2DE
Deuteranopia (green-blind)
#A7B4DA
Tritanopia (blue-blind)
#C9ADB9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #caa7dc;
/* rgb */ color: rgb(202, 167, 220);
/* oklch */ color: oklch(77.7% 0.083 314.0);
Tailwind
colors: {
  custom: {
    50: '#dac1e7',
    500: '#caa7dc',
    950: '#000000',
  },
}
SCSS
$custom: #caa7dc;
$custom-light: #dac1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#caa7dc",
  "rgb": {
    "r": 202,
    "g": 167,
    "b": 220
  },
  "hsl": {
    "h": 279.623,
    "s": 43.089,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77705,
    "c": 0.08305,
    "h": 314
  },
  "luminance": 0.45361
}

Semantic roles & 50–950 ramp

primary
#CAA7DC
secondary
#E3EDDE
accent
#B62F5D
background
#FDFBFE
surface
#FBF7FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CAA7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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