#D2AFF8#D2AFF8

#D2AFF8 is a light, moderate violet. Relative luminance 0.511; OKLCH L 81.0% C 0.107 H 306.0°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#D2AFF8
RGBrgb(210, 175, 248)
HSLhsl(269, 84%, 83%)
HSVhsv(269, 29%, 97%)
CMYKcmyk(15.3%, 29.4%, 0%, 2.7%)
CIE-LABlab(76.76, 26.31, -31.55)
CIE-LCHlch(76.76, 41.08, 309.83°)
OKLaboklab(81% 0.063 -0.0866)
OKLCHoklch(81% 0.107 306)
XYZxyz(58.8483, 51.1392, 95.5594)
Luminance0.5114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AFF8 #D5F8AF
analogous
#AFB0F8 #D2AFF8 #F6AFF8
triadic
#D2AFF8 #F8D2AF #AFF8D2
tetradic
#D2AFF8 #F8AFB0 #D5F8AF #AFF8F6
square
#D2AFF8 #F8AFB0 #D5F8AF #AFF8F6
split-complementary
#D2AFF8 #F8F6AF #B0F8AF
monochromatic
#933EEE #B277F3 #D2AFF8 #EFE3FD #EFE3FD

Accessibility & contrast

On white

1.87
#D2AFF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#D2AFF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AFF8
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AFF8#FFFFFF#000000##000000
##D2AFF81.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BCFB
Deuteranopia (green-blind)
#A8BEF6
Tritanopia (blue-blind)
#CDB9C9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d2aff8;
/* rgb */ color: rgb(210, 175, 248);
/* oklch */ color: oklch(81.0% 0.107 306.0);
Tailwind
colors: {
  custom: {
    50: '#e0c7fa',
    500: '#d2aff8',
    950: '#000000',
  },
}
SCSS
$custom: #d2aff8;
$custom-light: #e0c7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d2aff8",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 248
  },
  "hsl": {
    "h": 268.767,
    "s": 83.908,
    "l": 82.941
  },
  "oklch": {
    "l": 0.80998,
    "c": 0.10711,
    "h": 306
  },
  "luminance": 0.51139
}

Semantic roles & 50–950 ramp

primary
#D2AFF8
secondary
#A8DA71
accent
#E00577
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D2AFF8

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

Preview Lab → · Contrast checker → · Palette generator →

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