#CAA7EC#CAA7EC

#CAA7EC is a light, moderate violet. Relative luminance 0.463; OKLCH L 78.3% C 0.103 H 307.3°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#CAA7EC
RGBrgb(202, 167, 236)
HSLhsl(270, 64%, 79%)
HSVhsv(270, 29%, 93%)
CMYKcmyk(14.4%, 29.2%, 0%, 7.5%)
CIE-LABlab(73.71, 25.68, -29.82)
CIE-LCHlch(73.71, 39.35, 310.74°)
OKLaboklab(78.34% 0.0623 -0.0818)
OKLCHoklch(78.34% 0.103 307.3)
XYZxyz(53.3133, 46.2505, 85.4592)
Luminance0.4625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA7EC #C9ECA7
analogous
#A8A7EC #CAA7EC #ECA7EC
triadic
#CAA7EC #ECCAA7 #A7ECCA
tetradic
#CAA7EC #ECA8A7 #C9ECA7 #A7ECEC
square
#CAA7EC #ECA8A7 #C9ECA7 #A7ECEC
split-complementary
#CAA7EC #ECECA7 #A7ECA8
monochromatic
#8D42D6 #AC75E1 #CAA7EC #E8D9F7 #F0E6FA

Accessibility & contrast

On white

2.05
#CAA7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#CAA7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA7EC
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA7EC#FFFFFF#000000##000000
##CAA7EC1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB4EF
Deuteranopia (green-blind)
#A1B6EA
Tritanopia (blue-blind)
#C6B1C0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #caa7ec;
/* rgb */ color: rgb(202, 167, 236);
/* oklch */ color: oklch(78.3% 0.103 307.3);
Tailwind
colors: {
  custom: {
    50: '#dbc1f2',
    500: '#caa7ec',
    950: '#000000',
  },
}
SCSS
$custom: #caa7ec;
$custom-light: #dbc1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#caa7ec",
  "rgb": {
    "r": 202,
    "g": 167,
    "b": 236
  },
  "hsl": {
    "h": 270.435,
    "s": 64.486,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78339,
    "c": 0.10281,
    "h": 307.3
  },
  "luminance": 0.4625
}

Semantic roles & 50–950 ramp

primary
#CAA7EC
secondary
#E5F1DA
accent
#CC1971
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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