#D2AFF2#D2AFF2

#D2AFF2 is a light, moderate violet. Relative luminance 0.508; OKLCH L 80.8% C 0.100 H 308.1°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#D2AFF2
RGBrgb(210, 175, 242)
HSLhsl(271, 72%, 82%)
HSVhsv(271, 28%, 95%)
CMYKcmyk(13.2%, 27.7%, 0%, 5.1%)
CIE-LABlab(76.54, 25.05, -28.65)
CIE-LCHlch(76.54, 38.06, 311.16°)
OKLaboklab(80.75% 0.0614 -0.0784)
OKLCHoklch(80.75% 0.1 308.1)
XYZxyz(57.9324, 50.7728, 90.7354)
Luminance0.5077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AFF2 #CFF2AF
analogous
#B1AFF2 #D2AFF2 #F2AFF1
triadic
#D2AFF2 #F2D2AF #AFF2D2
tetradic
#D2AFF2 #F2B1AF #CFF2AF #AFF1F2
square
#D2AFF2 #F2B1AF #CFF2AF #AFF1F2
split-complementary
#D2AFF2 #F1F2AF #AFF2B1
monochromatic
#9746E1 #B47AE9 #D2AFF2 #F0E4FB #F0E5FB

Accessibility & contrast

On white

1.88
#D2AFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#D2AFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AFF2
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AFF2#FFFFFF#000000##000000
##D2AFF21.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BBF5
Deuteranopia (green-blind)
#AABDF0
Tritanopia (blue-blind)
#CEB8C7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d2aff2;
/* rgb */ color: rgb(210, 175, 242);
/* oklch */ color: oklch(80.8% 0.100 308.1);
Tailwind
colors: {
  custom: {
    50: '#e0c7f6',
    500: '#d2aff2',
    950: '#000000',
  },
}
SCSS
$custom: #d2aff2;
$custom-light: #e0c7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2aff2",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 271.343,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.80754,
    "c": 0.09959,
    "h": 308.1
  },
  "luminance": 0.50772
}

Semantic roles & 50–950 ramp

primary
#D2AFF2
secondary
#A1D174
accent
#D4116E
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #D2AFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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