#CAA7DF#CAA7DF

#CAA7DF is a light, moderate violet. Relative luminance 0.455; OKLCH L 77.8% C 0.087 H 312.6°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CAA7DF
RGBrgb(202, 167, 223)
HSLhsl(278, 47%, 76%)
HSVhsv(278, 25%, 87%)
CMYKcmyk(9.4%, 25.1%, 0%, 12.5%)
CIE-LABlab(73.23, 22.97, -23.46)
CIE-LCHlch(73.23, 32.83, 314.40°)
OKLaboklab(77.82% 0.0586 -0.0638)
OKLCHoklch(77.82% 0.087 312.6)
XYZxyz(51.4929, 45.5223, 75.8718)
Luminance0.4552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA7DF #BCDFA7
analogous
#AEA7DF #CAA7DF #DFA7D8
triadic
#CAA7DF #DFCAA7 #A7DFCA
tetradic
#CAA7DF #DFAEA7 #BCDFA7 #A7D8DF
square
#CAA7DF #DFAEA7 #BCDFA7 #A7D8DF
split-complementary
#CAA7DF #D8DFA7 #A7DFAE
monochromatic
#944DBE #AF7ACF #CAA7DF #E5D4EF #F1E9F7

Accessibility & contrast

On white

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

On black

10.10
#CAA7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA7DF
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA7DF#FFFFFF#000000##000000
##CAA7DF1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB2E1
Deuteranopia (green-blind)
#A6B5DD
Tritanopia (blue-blind)
#C8AEBB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #caa7df;
/* rgb */ color: rgb(202, 167, 223);
/* oklch */ color: oklch(77.8% 0.087 312.6);
Tailwind
colors: {
  custom: {
    50: '#dac1e9',
    500: '#caa7df',
    950: '#000000',
  },
}
SCSS
$custom: #caa7df;
$custom-light: #dac1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#caa7df",
  "rgb": {
    "r": 202,
    "g": 167,
    "b": 223
  },
  "hsl": {
    "h": 277.5,
    "s": 46.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7782,
    "c": 0.08668,
    "h": 312.6
  },
  "luminance": 0.45522
}

Semantic roles & 50–950 ramp

primary
#CAA7DF
secondary
#E3EEDD
accent
#BA2C61
background
#FDFBFE
surface
#FBF7FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CAA7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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