#CAA7EF#CAA7EF

#CAA7EF is a light, moderate violet. Relative luminance 0.464; OKLCH L 78.5% C 0.107 H 306.3°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#CAA7EF
RGBrgb(202, 167, 239)
HSLhsl(269, 69%, 80%)
HSVhsv(269, 30%, 94%)
CMYKcmyk(15.5%, 30.1%, 0%, 6.3%)
CIE-LABlab(73.82, 26.32, -31.27)
CIE-LCHlch(73.82, 40.88, 310.09°)
OKLaboklab(78.46% 0.0631 -0.0859)
OKLCHoklch(78.46% 0.107 306.3)
XYZxyz(53.7528, 46.4263, 87.7740)
Luminance0.4643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA7EF #CCEFA7
analogous
#A7A8EF #CAA7EF #EEA7EF
triadic
#CAA7EF #EFCAA7 #A7EFCA
tetradic
#CAA7EF #EFA7A8 #CCEFA7 #A7EFEE
square
#CAA7EF #EFA7A8 #CCEFA7 #A7EFEE
split-complementary
#CAA7EF #EFEEA7 #A8EFA7
monochromatic
#8C3FDC #AB73E6 #CAA7EF #E9DBF8 #EFE5FA

Accessibility & contrast

On white

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

On black

10.29
#CAA7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA7EF
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA7EF#FFFFFF#000000##000000
##CAA7EF1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B4F2
Deuteranopia (green-blind)
#A0B6ED
Tritanopia (blue-blind)
#C5B1C1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #caa7ef;
/* rgb */ color: rgb(202, 167, 239);
/* oklch */ color: oklch(78.5% 0.107 306.3);
Tailwind
colors: {
  custom: {
    50: '#dbc1f4',
    500: '#caa7ef',
    950: '#000000',
  },
}
SCSS
$custom: #caa7ef;
$custom-light: #dbc1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#caa7ef",
  "rgb": {
    "r": 202,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 269.167,
    "s": 69.231,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78464,
    "c": 0.10659,
    "h": 306.3
  },
  "luminance": 0.46426
}

Semantic roles & 50–950 ramp

primary
#CAA7EF
secondary
#E6F2D9
accent
#D11475
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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