#D2AFEB#D2AFEB

#D2AFEB is a light, moderate violet. Relative luminance 0.504; OKLCH L 80.5% C 0.091 H 310.8°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#D2AFEB
RGBrgb(210, 175, 235)
HSLhsl(275, 60%, 80%)
HSVhsv(275, 26%, 92%)
CMYKcmyk(10.6%, 25.5%, 0%, 7.8%)
CIE-LABlab(76.29, 23.60, -25.25)
CIE-LCHlch(76.29, 34.57, 313.06°)
OKLaboklab(80.48% 0.0594 -0.0688)
OKLCHoklch(80.48% 0.091 310.8)
XYZxyz(56.9011, 50.3603, 85.3041)
Luminance0.5036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AFEB #C8EBAF
analogous
#B4AFEB #D2AFEB #EBAFE6
triadic
#D2AFEB #EBD2AF #AFEBD2
tetradic
#D2AFEB #EBB4AF #C8EBAF #AFE6EB
square
#D2AFEB #EBB4AF #C8EBAF #AFE6EB
split-complementary
#D2AFEB #E6EBAF #AFEBB4
monochromatic
#9B4DD3 #B67EDF #D2AFEB #EEE0F7 #F1E7F9

Accessibility & contrast

On white

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

On black

11.07
#D2AFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AFEB
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AFEB#FFFFFF#000000##000000
##D2AFEB1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BAED
Deuteranopia (green-blind)
#ADBDE9
Tritanopia (blue-blind)
#D0B7C4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2afeb;
/* rgb */ color: rgb(210, 175, 235);
/* oklch */ color: oklch(80.5% 0.091 310.8);
Tailwind
colors: {
  custom: {
    50: '#e0c7f1',
    500: '#d2afeb',
    950: '#000000',
  },
}
SCSS
$custom: #d2afeb;
$custom-light: #e0c7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2afeb",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 275,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.80478,
    "c": 0.09092,
    "h": 310.8
  },
  "luminance": 0.5036
}

Semantic roles & 50–950 ramp

primary
#D2AFEB
secondary
#98C777
accent
#C81E65
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #D2AFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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