#CAA5ED#CAA5ED

#CAA5ED is a light, moderate violet. Relative luminance 0.456; OKLCH L 78.0% C 0.107 H 307.5°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#CAA5ED
RGBrgb(202, 165, 237)
HSLhsl(271, 67%, 79%)
HSVhsv(271, 30%, 93%)
CMYKcmyk(14.8%, 30.4%, 0%, 7.1%)
CIE-LABlab(73.27, 26.99, -31.03)
CIE-LCHlch(73.27, 41.13, 311.02°)
OKLaboklab(78.02% 0.0654 -0.0852)
OKLCHoklch(78.02% 0.107 307.5)
XYZxyz(53.0955, 45.5816, 86.1054)
Luminance0.4558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA5ED #C8EDA5
analogous
#A6A5ED #CAA5ED #EDA5EC
triadic
#CAA5ED #EDCAA5 #A5EDCA
tetradic
#CAA5ED #EDA6A5 #C8EDA5 #A5ECED
square
#CAA5ED #EDA6A5 #C8EDA5 #A5ECED
split-complementary
#CAA5ED #ECEDA5 #A5EDA6
monochromatic
#8E3FD9 #AC72E3 #CAA5ED #E8D8F7 #F0E5FA

Accessibility & contrast

On white

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

On black

10.12
#CAA5ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA5ED
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA5ED#FFFFFF#000000##000000
##CAA5ED1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B2F0
Deuteranopia (green-blind)
#9FB4EB
Tritanopia (blue-blind)
#C5AFBF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #caa5ed;
/* rgb */ color: rgb(202, 165, 237);
/* oklch */ color: oklch(78.0% 0.107 307.5);
Tailwind
colors: {
  custom: {
    50: '#dbc0f3',
    500: '#caa5ed',
    950: '#000000',
  },
}
SCSS
$custom: #caa5ed;
$custom-light: #dbc0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#caa5ed",
  "rgb": {
    "r": 202,
    "g": 165,
    "b": 237
  },
  "hsl": {
    "h": 270.833,
    "s": 66.667,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78019,
    "c": 0.10744,
    "h": 307.5
  },
  "luminance": 0.45581
}

Semantic roles & 50–950 ramp

primary
#CAA5ED
secondary
#E5F1DA
accent
#CF1770
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA5ED

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

Preview Lab → · Contrast checker → · Palette generator →

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