#D4AAEF#D4AAEF

#D4AAEF is a light, moderate violet. Relative luminance 0.490; OKLCH L 79.9% C 0.105 H 311.7°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#D4AAEF
RGBrgb(212, 170, 239)
HSLhsl(277, 68%, 80%)
HSVhsv(277, 29%, 94%)
CMYKcmyk(11.3%, 28.9%, 0%, 6.3%)
CIE-LABlab(75.44, 27.77, -28.71)
CIE-LCHlch(75.44, 39.94, 314.05°)
OKLaboklab(79.92% 0.07 -0.0785)
OKLCHoklch(79.92% 0.105 311.7)
XYZxyz(57.1034, 48.9792, 88.0903)
Luminance0.4898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AAEF #C5EFAA
analogous
#B1AAEF #D4AAEF #EFAAE7
triadic
#D4AAEF #EFD4AA #AAEFD4
tetradic
#D4AAEF #EFB1AA #C5EFAA #AAE7EF
square
#D4AAEF #EFB1AA #C5EFAA #AAE7EF
split-complementary
#D4AAEF #E7EFAA #AAEFB1
monochromatic
#A043DC #BA76E5 #D4AAEF #EEDEF9 #F2E5FA

Accessibility & contrast

On white

1.95
#D4AAEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#D4AAEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AAEF
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AAEF#FFFFFF#000000##000000
##D4AAEF1.001.9510.8010.80
#FFFFFF1.951.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB8F2
Deuteranopia (green-blind)
#A8BBED
Tritanopia (blue-blind)
#D2B3C3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d4aaef;
/* rgb */ color: rgb(212, 170, 239);
/* oklch */ color: oklch(79.9% 0.105 311.7);
Tailwind
colors: {
  custom: {
    50: '#e2c3f4',
    500: '#d4aaef',
    950: '#000000',
  },
}
SCSS
$custom: #d4aaef;
$custom-light: #e2c3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d4aaef",
  "rgb": {
    "r": 212,
    "g": 170,
    "b": 239
  },
  "hsl": {
    "h": 276.522,
    "s": 68.317,
    "l": 80.196
  },
  "oklch": {
    "l": 0.79916,
    "c": 0.10519,
    "h": 311.7
  },
  "luminance": 0.48978
}

Semantic roles & 50–950 ramp

primary
#D4AAEF
secondary
#E3F2D9
accent
#D0155E
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #D4AAEF

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

Preview Lab → · Contrast checker → · Palette generator →

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