#D2A8EA#D2A8EA

#D2A8EA is a light, moderate violet. Relative luminance 0.476; OKLCH L 79.2% C 0.102 H 312.9°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#D2A8EA
RGBrgb(210, 168, 234)
HSLhsl(278, 61%, 79%)
HSVhsv(278, 28%, 92%)
CMYKcmyk(10.3%, 28.2%, 0%, 8.2%)
CIE-LABlab(74.60, 27.21, -27.29)
CIE-LCHlch(74.60, 38.54, 314.91°)
OKLaboklab(79.17% 0.0693 -0.0745)
OKLCHoklch(79.17% 0.102 312.9)
XYZxyz(55.4298, 47.6482, 84.1029)
Luminance0.4765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A8EA #C0EAA8
analogous
#B1A8EA #D2A8EA #EAA8E1
triadic
#D2A8EA #EAD2A8 #A8EAD2
tetradic
#D2A8EA #EAB1A8 #C0EAA8 #A8E1EA
square
#D2A8EA #EAB1A8 #C0EAA8 #A8E1EA
split-complementary
#D2A8EA #E1EAA8 #A8EAB1
monochromatic
#9F45D2 #B977DE #D2A8EA #ECD9F6 #F2E6F9

Accessibility & contrast

On white

1.99
#D2A8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#D2A8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A8EA
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A8EA#FFFFFF#000000##000000
##D2A8EA1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB5ED
Deuteranopia (green-blind)
#A7B9E8
Tritanopia (blue-blind)
#D0B0BF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2a8ea;
/* rgb */ color: rgb(210, 168, 234);
/* oklch */ color: oklch(79.2% 0.102 312.9);
Tailwind
colors: {
  custom: {
    50: '#e0c2f1',
    500: '#d2a8ea',
    950: '#000000',
  },
}
SCSS
$custom: #d2a8ea;
$custom-light: #e0c2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a8ea",
  "rgb": {
    "r": 210,
    "g": 168,
    "b": 234
  },
  "hsl": {
    "h": 278.182,
    "s": 61.111,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79172,
    "c": 0.10178,
    "h": 312.9
  },
  "luminance": 0.47647
}

Semantic roles & 50–950 ramp

primary
#D2A8EA
secondary
#E3F0DB
accent
#C91D5B
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #D2A8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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