#CAA7EB#CAA7EB

#CAA7EB is a light, moderate violet. Relative luminance 0.462; OKLCH L 78.3% C 0.102 H 307.7°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#CAA7EB
RGBrgb(202, 167, 235)
HSLhsl(271, 63%, 79%)
HSVhsv(271, 29%, 92%)
CMYKcmyk(14%, 28.9%, 0%, 7.8%)
CIE-LABlab(73.67, 25.47, -29.33)
CIE-LCHlch(73.67, 38.85, 310.97°)
OKLaboklab(78.3% 0.062 -0.0804)
OKLCHoklch(78.3% 0.102 307.7)
XYZxyz(53.1684, 46.1925, 84.6962)
Luminance0.4619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA7EB #C8EBA7
analogous
#A8A7EB #CAA7EB #EBA7EA
triadic
#CAA7EB #EBCAA7 #A7EBCA
tetradic
#CAA7EB #EBA8A7 #C8EBA7 #A7EAEB
square
#CAA7EB #EBA8A7 #C8EBA7 #A7EAEB
split-complementary
#CAA7EB #EAEBA7 #A7EBA8
monochromatic
#8E43D4 #AC75E0 #CAA7EB #E8D9F6 #F0E6F9

Accessibility & contrast

On white

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

On black

10.24
#CAA7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA7EB
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA7EB#FFFFFF#000000##000000
##CAA7EB1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB4EE
Deuteranopia (green-blind)
#A2B5E9
Tritanopia (blue-blind)
#C6B0BF
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #caa7eb;
/* rgb */ color: rgb(202, 167, 235);
/* oklch */ color: oklch(78.3% 0.102 307.7);
Tailwind
colors: {
  custom: {
    50: '#dbc1f1',
    500: '#caa7eb',
    950: '#000000',
  },
}
SCSS
$custom: #caa7eb;
$custom-light: #dbc1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#caa7eb",
  "rgb": {
    "r": 202,
    "g": 167,
    "b": 235
  },
  "hsl": {
    "h": 270.882,
    "s": 62.963,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78298,
    "c": 0.10155,
    "h": 307.7
  },
  "luminance": 0.46192
}

Semantic roles & 50–950 ramp

primary
#CAA7EB
secondary
#E5F1DA
accent
#CB1B70
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CAA7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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