#CAA7EE#CAA7EE

#CAA7EE is a light, moderate violet. Relative luminance 0.464; OKLCH L 78.4% C 0.105 H 306.6°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#CAA7EE
RGBrgb(202, 167, 238)
HSLhsl(270, 68%, 79%)
HSVhsv(270, 30%, 93%)
CMYKcmyk(15.1%, 29.8%, 0%, 6.7%)
CIE-LABlab(73.78, 26.11, -30.79)
CIE-LCHlch(73.78, 40.37, 310.30°)
OKLaboklab(78.42% 0.0628 -0.0845)
OKLCHoklch(78.42% 0.105 306.6)
XYZxyz(53.6055, 46.3674, 86.9981)
Luminance0.4637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA7EE #CBEEA7
analogous
#A7A8EE #CAA7EE #EDA7EE
triadic
#CAA7EE #EECAA7 #A7EECA
tetradic
#CAA7EE #EEA7A8 #CBEEA7 #A7EEED
square
#CAA7EE #EEA7A8 #CBEEA7 #A7EEED
split-complementary
#CAA7EE #EEEDA7 #A8EEA7
monochromatic
#8C40DA #AB74E4 #CAA7EE #E9DAF8 #F0E5FA

Accessibility & contrast

On white

2.04
#CAA7EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#CAA7EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA7EE
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA7EE#FFFFFF#000000##000000
##CAA7EE1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB4F1
Deuteranopia (green-blind)
#A1B6EC
Tritanopia (blue-blind)
#C5B1C0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #caa7ee;
/* rgb */ color: rgb(202, 167, 238);
/* oklch */ color: oklch(78.4% 0.105 306.6);
Tailwind
colors: {
  custom: {
    50: '#dbc1f3',
    500: '#caa7ee',
    950: '#000000',
  },
}
SCSS
$custom: #caa7ee;
$custom-light: #dbc1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#caa7ee",
  "rgb": {
    "r": 202,
    "g": 167,
    "b": 238
  },
  "hsl": {
    "h": 269.577,
    "s": 67.619,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78422,
    "c": 0.10532,
    "h": 306.6
  },
  "luminance": 0.46367
}

Semantic roles & 50–950 ramp

primary
#CAA7EE
secondary
#E6F2D9
accent
#D01674
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA7EE

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

Preview Lab → · Contrast checker → · Palette generator →

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