#D2AAFE#D2AAFE

#D2AAFE is a light, vivid violet. Relative luminance 0.496; OKLCH L 80.4% C 0.123 H 305.6°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#D2AAFE
RGBrgb(210, 170, 254)
HSLhsl(269, 98%, 83%)
HSVhsv(269, 33%, 100%)
CMYKcmyk(17.3%, 33.1%, 0%, 0.4%)
CIE-LABlab(75.83, 30.33, -36.23)
CIE-LCHlch(75.83, 47.24, 309.93°)
OKLaboklab(80.36% 0.0716 -0.0999)
OKLCHoklch(80.36% 0.123 305.6)
XYZxyz(58.8389, 49.6071, 100.2221)
Luminance0.4961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AAFE #D6FEAA
analogous
#AAACFE #D2AAFE #FCAAFE
triadic
#D2AAFE #FED2AA #AAFED2
tetradic
#D2AAFE #FEAAAC #D6FEAA #AAFEFC
square
#D2AAFE #FEAAAC #D6FEAA #AAFEFC
split-complementary
#D2AAFE #FEFCAA #ACFEAA
monochromatic
#9231FD #B26EFD #D2AAFE #EFE1FF #EFE1FF

Accessibility & contrast

On white

1.92
#D2AAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#D2AAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AAFE
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AAFE#FFFFFF#000000##000000
##D2AAFE1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99BAFF
Deuteranopia (green-blind)
#A1BBFC
Tritanopia (blue-blind)
#CCB6C9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2aafe;
/* rgb */ color: rgb(210, 170, 254);
/* oklch */ color: oklch(80.4% 0.123 305.6);
Tailwind
colors: {
  custom: {
    50: '#e1c3ff',
    500: '#d2aafe',
    950: '#000000',
  },
}
SCSS
$custom: #d2aafe;
$custom-light: #e1c3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d2aafe",
  "rgb": {
    "r": 210,
    "g": 170,
    "b": 254
  },
  "hsl": {
    "h": 268.571,
    "s": 97.674,
    "l": 83.137
  },
  "oklch": {
    "l": 0.80359,
    "c": 0.12291,
    "h": 305.6
  },
  "luminance": 0.49607
}

Semantic roles & 50–950 ramp

primary
#D2AAFE
secondary
#E6F7D4
accent
#E60078
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #D2AAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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