#D2AFFA#D2AFFA

#D2AFFA is a light, moderate violet. Relative luminance 0.513; OKLCH L 81.1% C 0.110 H 305.4°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#D2AFFA
RGBrgb(210, 175, 250)
HSLhsl(268, 88%, 83%)
HSVhsv(268, 30%, 98%)
CMYKcmyk(16%, 30%, 0%, 2%)
CIE-LABlab(76.84, 26.74, -32.51)
CIE-LCHlch(76.84, 42.09, 309.44°)
OKLaboklab(81.08% 0.0636 -0.0893)
OKLCHoklch(81.08% 0.11 305.4)
XYZxyz(59.1603, 51.2640, 97.2022)
Luminance0.5126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AFFA #D7FAAF
analogous
#AFB1FA #D2AFFA #F7AFFA
triadic
#D2AFFA #FAD2AF #AFFAD2
tetradic
#D2AFFA #FAAFB1 #D7FAAF #AFFAF7
square
#D2AFFA #FAAFB1 #D7FAAF #AFFAF7
split-complementary
#D2AFFA #FAF7AF #B1FAAF
monochromatic
#913CF3 #B275F6 #D2AFFA #EFE2FD #EFE2FD

Accessibility & contrast

On white

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

On black

11.25
#D2AFFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AFFA
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AFFA#FFFFFF#000000##000000
##D2AFFA1.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BCFD
Deuteranopia (green-blind)
#A7BEF8
Tritanopia (blue-blind)
#CCBACA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2affa;
/* rgb */ color: rgb(210, 175, 250);
/* oklch */ color: oklch(81.1% 0.110 305.4);
Tailwind
colors: {
  custom: {
    50: '#e0c7fc',
    500: '#d2affa',
    950: '#000000',
  },
}
SCSS
$custom: #d2affa;
$custom-light: #e0c7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d2affa",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 250
  },
  "hsl": {
    "h": 268,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.8108,
    "c": 0.10963,
    "h": 305.4
  },
  "luminance": 0.51264
}

Semantic roles & 50–950 ramp

primary
#D2AFFA
secondary
#AADD70
accent
#E5017A
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D2AFFA

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

Preview Lab → · Contrast checker → · Palette generator →

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