#D2AAEF#D2AAEF

#D2AAEF is a light, moderate violet. Relative luminance 0.487; OKLCH L 79.7% C 0.104 H 310.5°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#D2AAEF
RGBrgb(210, 170, 239)
HSLhsl(275, 68%, 80%)
HSVhsv(275, 29%, 94%)
CMYKcmyk(12.1%, 28.9%, 0%, 6.3%)
CIE-LABlab(75.25, 27.15, -29.01)
CIE-LCHlch(75.25, 39.73, 313.11°)
OKLaboklab(79.73% 0.0678 -0.0794)
OKLCHoklch(79.73% 0.104 310.5)
XYZxyz(56.5303, 48.6837, 88.0635)
Luminance0.4868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AAEF #C7EFAA
analogous
#B0AAEF #D2AAEF #EFAAE9
triadic
#D2AAEF #EFD2AA #AAEFD2
tetradic
#D2AAEF #EFB0AA #C7EFAA #AAE9EF
square
#D2AAEF #EFB0AA #C7EFAA #AAE9EF
split-complementary
#D2AAEF #E9EFAA #AAEFB0
monochromatic
#9B43DC #B776E5 #D2AAEF #EDDEF9 #F1E5FA

Accessibility & contrast

On white

1.96
#D2AAEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#D2AAEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AAEF
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AAEF#FFFFFF#000000##000000
##D2AAEF1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB7F2
Deuteranopia (green-blind)
#A7BAED
Tritanopia (blue-blind)
#CFB3C3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2aaef;
/* rgb */ color: rgb(210, 170, 239);
/* oklch */ color: oklch(79.7% 0.104 310.5);
Tailwind
colors: {
  custom: {
    50: '#e0c3f4',
    500: '#d2aaef',
    950: '#000000',
  },
}
SCSS
$custom: #d2aaef;
$custom-light: #e0c3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2aaef",
  "rgb": {
    "r": 210,
    "g": 170,
    "b": 239
  },
  "hsl": {
    "h": 274.783,
    "s": 68.317,
    "l": 80.196
  },
  "oklch": {
    "l": 0.79732,
    "c": 0.10438,
    "h": 310.5
  },
  "luminance": 0.48683
}

Semantic roles & 50–950 ramp

primary
#D2AAEF
secondary
#E4F2D9
accent
#D01564
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #D2AAEF

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

Preview Lab → · Contrast checker → · Palette generator →

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