#CAAAEF#CAAAEF

#CAAAEF is a light, moderate violet. Relative luminance 0.475; OKLCH L 79.0% C 0.102 H 305.4°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#CAAAEF
RGBrgb(202, 170, 239)
HSLhsl(268, 68%, 80%)
HSVhsv(268, 29%, 94%)
CMYKcmyk(15.5%, 28.9%, 0%, 6.3%)
CIE-LABlab(74.53, 24.68, -30.18)
CIE-LCHlch(74.53, 38.98, 309.27°)
OKLaboklab(79.01% 0.0588 -0.0828)
OKLCHoklch(79.01% 0.102 305.4)
XYZxyz(54.3088, 47.5382, 87.9593)
Luminance0.4754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAAEF #CFEFAA
analogous
#AAACEF #CAAAEF #ECAAEF
triadic
#CAAAEF #EFCAAA #AAEFCA
tetradic
#CAAAEF #EFAAAC #CFEFAA #AAEFEC
square
#CAAAEF #EFAAAC #CFEFAA #AAEFEC
split-complementary
#CAAAEF #EFECAA #ACEFAA
monochromatic
#8A43DC #AA76E5 #CAAAEF #EADEF9 #EFE5FA

Accessibility & contrast

On white

2.00
#CAAAEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#CAAAEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAAEF
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAAEF#FFFFFF#000000##000000
##CAAAEF1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB6F2
Deuteranopia (green-blind)
#A3B8ED
Tritanopia (blue-blind)
#C5B4C3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #caaaef;
/* rgb */ color: rgb(202, 170, 239);
/* oklch */ color: oklch(79.0% 0.102 305.4);
Tailwind
colors: {
  custom: {
    50: '#dbc3f4',
    500: '#caaaef',
    950: '#000000',
  },
}
SCSS
$custom: #caaaef;
$custom-light: #dbc3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#caaaef",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 239
  },
  "hsl": {
    "h": 267.826,
    "s": 68.317,
    "l": 80.196
  },
  "oklch": {
    "l": 0.79009,
    "c": 0.10157,
    "h": 305.4
  },
  "luminance": 0.47538
}

Semantic roles & 50–950 ramp

primary
#CAAAEF
secondary
#E6F2D9
accent
#D0157A
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAAAEF

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

Preview Lab → · Contrast checker → · Palette generator →

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