#CAA8EF#CAA8EF

#CAA8EF is a light, moderate violet. Relative luminance 0.468; OKLCH L 78.6% C 0.105 H 306.0°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#CAA8EF
RGBrgb(202, 168, 239)
HSLhsl(269, 69%, 80%)
HSVhsv(269, 30%, 94%)
CMYKcmyk(15.5%, 29.7%, 0%, 6.3%)
CIE-LABlab(74.06, 25.77, -30.91)
CIE-LCHlch(74.06, 40.24, 309.82°)
OKLaboklab(78.65% 0.0617 -0.0849)
OKLCHoklch(78.65% 0.105 306)
XYZxyz(53.9367, 46.7941, 87.8353)
Luminance0.4679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA8EF #CDEFA8
analogous
#A8AAEF #CAA8EF #EDA8EF
triadic
#CAA8EF #EFCAA8 #A8EFCA
tetradic
#CAA8EF #EFA8AA #CDEFA8 #A8EFED
square
#CAA8EF #EFA8AA #CDEFA8 #A8EFED
split-complementary
#CAA8EF #EFEDA8 #AAEFA8
monochromatic
#8B41DC #AB74E5 #CAA8EF #E9DCF9 #EFE5FA

Accessibility & contrast

On white

2.03
#CAA8EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#CAA8EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA8EF
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA8EF#FFFFFF#000000##000000
##CAA8EF1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB5F2
Deuteranopia (green-blind)
#A1B6ED
Tritanopia (blue-blind)
#C5B2C1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #caa8ef;
/* rgb */ color: rgb(202, 168, 239);
/* oklch */ color: oklch(78.6% 0.105 306.0);
Tailwind
colors: {
  custom: {
    50: '#dbc2f4',
    500: '#caa8ef',
    950: '#000000',
  },
}
SCSS
$custom: #caa8ef;
$custom-light: #dbc2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#caa8ef",
  "rgb": {
    "r": 202,
    "g": 168,
    "b": 239
  },
  "hsl": {
    "h": 268.732,
    "s": 68.932,
    "l": 79.804
  },
  "oklch": {
    "l": 0.78645,
    "c": 0.10492,
    "h": 306
  },
  "luminance": 0.46794
}

Semantic roles & 50–950 ramp

primary
#CAA8EF
secondary
#E6F2D9
accent
#D11577
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA8EF

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

Preview Lab → · Contrast checker → · Palette generator →

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