#D2AFF3#D2AFF3

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

Color values

HEX#D2AFF3
RGBrgb(210, 175, 243)
HSLhsl(271, 74%, 82%)
HSVhsv(271, 28%, 95%)
CMYKcmyk(13.6%, 28%, 0%, 4.7%)
CIE-LABlab(76.58, 25.26, -29.14)
CIE-LCHlch(76.58, 38.56, 310.92°)
OKLaboklab(80.79% 0.0617 -0.0798)
OKLCHoklch(80.79% 0.101 307.7)
XYZxyz(58.0830, 50.8331, 91.5285)
Luminance0.5083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AFF3 #D0F3AF
analogous
#B0AFF3 #D2AFF3 #F3AFF2
triadic
#D2AFF3 #F3D2AF #AFF3D2
tetradic
#D2AFF3 #F3B0AF #D0F3AF #AFF2F3
square
#D2AFF3 #F3B0AF #D0F3AF #AFF2F3
split-complementary
#D2AFF3 #F2F3AF #AFF3B0
monochromatic
#9645E3 #B47AEB #D2AFF3 #F0E4FB #F0E4FB

Accessibility & contrast

On white

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

On black

11.17
#D2AFF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AFF3
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AFF3#FFFFFF#000000##000000
##D2AFF31.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2aff3;
/* rgb */ color: rgb(210, 175, 243);
/* oklch */ color: oklch(80.8% 0.101 307.7);
Tailwind
colors: {
  custom: {
    50: '#e0c7f7',
    500: '#d2aff3',
    950: '#000000',
  },
}
SCSS
$custom: #d2aff3;
$custom-light: #e0c7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2aff3",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 243
  },
  "hsl": {
    "h": 270.882,
    "s": 73.913,
    "l": 81.961
  },
  "oklch": {
    "l": 0.80794,
    "c": 0.10083,
    "h": 307.7
  },
  "luminance": 0.50833
}

Semantic roles & 50–950 ramp

primary
#D2AFF3
secondary
#A2D374
accent
#D60F70
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #D2AFF3

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

Preview Lab → · Contrast checker → · Palette generator →

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