#D2AFEA#D2AFEA

#D2AFEA is a light, moderate violet. Relative luminance 0.503; OKLCH L 80.4% C 0.090 H 311.2°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#D2AFEA
RGBrgb(210, 175, 234)
HSLhsl(276, 58%, 80%)
HSVhsv(276, 25%, 92%)
CMYKcmyk(10.3%, 25.2%, 0%, 8.2%)
CIE-LABlab(76.25, 23.40, -24.77)
CIE-LCHlch(76.25, 34.07, 313.37°)
OKLaboklab(80.44% 0.0591 -0.0674)
OKLCHoklch(80.44% 0.09 311.2)
XYZxyz(56.7571, 50.3027, 84.5453)
Luminance0.5030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AFEA #C7EAAF
analogous
#B4AFEA #D2AFEA #EAAFE5
triadic
#D2AFEA #EAD2AF #AFEAD2
tetradic
#D2AFEA #EAB4AF #C7EAAF #AFE5EA
square
#D2AFEA #EAB4AF #C7EAAF #AFE5EA
split-complementary
#D2AFEA #E5EAAF #AFEAB4
monochromatic
#9B4ED1 #B77FDD #D2AFEA #EDDFF7 #F1E7F9

Accessibility & contrast

On white

1.90
#D2AFEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#D2AFEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AFEA
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AFEA#FFFFFF#000000##000000
##D2AFEA1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BAEC
Deuteranopia (green-blind)
#ADBDE8
Tritanopia (blue-blind)
#D0B6C4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2afea;
/* rgb */ color: rgb(210, 175, 234);
/* oklch */ color: oklch(80.4% 0.090 311.2);
Tailwind
colors: {
  custom: {
    50: '#e0c7f0',
    500: '#d2afea',
    950: '#000000',
  },
}
SCSS
$custom: #d2afea;
$custom-light: #e0c7f0;
$custom-dark: #000000;
JSON
{
  "hex": "#d2afea",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 234
  },
  "hsl": {
    "h": 275.593,
    "s": 58.416,
    "l": 80.196
  },
  "oklch": {
    "l": 0.8044,
    "c": 0.0897,
    "h": 311.2
  },
  "luminance": 0.50302
}

Semantic roles & 50–950 ramp

primary
#D2AFEA
secondary
#97C677
accent
#C61F63
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #D2AFEA

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

Preview Lab → · Contrast checker → · Palette generator →

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