#D1A8EA#D1A8EA

#D1A8EA is a light, moderate violet. Relative luminance 0.475; OKLCH L 79.1% C 0.101 H 312.3°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#D1A8EA
RGBrgb(209, 168, 234)
HSLhsl(277, 61%, 79%)
HSVhsv(277, 28%, 92%)
CMYKcmyk(10.7%, 28.2%, 0%, 8.2%)
CIE-LABlab(74.51, 26.90, -27.44)
CIE-LCHlch(74.51, 38.43, 314.42°)
OKLaboklab(79.08% 0.0682 -0.0749)
OKLCHoklch(79.08% 0.101 312.3)
XYZxyz(55.1459, 47.5018, 84.0896)
Luminance0.4750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1A8EA #C1EAA8
analogous
#B0A8EA #D1A8EA #EAA8E2
triadic
#D1A8EA #EAD1A8 #A8EAD1
tetradic
#D1A8EA #EAB0A8 #C1EAA8 #A8E2EA
square
#D1A8EA #EAB0A8 #C1EAA8 #A8E2EA
split-complementary
#D1A8EA #E2EAA8 #A8EAB0
monochromatic
#9D45D2 #B777DE #D1A8EA #EBD9F6 #F2E6F9

Accessibility & contrast

On white

2.00
#D1A8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#D1A8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1A8EA
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1A8EA#FFFFFF#000000##000000
##D1A8EA1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB5ED
Deuteranopia (green-blind)
#A6B8E8
Tritanopia (blue-blind)
#CFB0BF
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d1a8ea;
/* rgb */ color: rgb(209, 168, 234);
/* oklch */ color: oklch(79.1% 0.101 312.3);
Tailwind
colors: {
  custom: {
    50: '#dfc2f1',
    500: '#d1a8ea',
    950: '#000000',
  },
}
SCSS
$custom: #d1a8ea;
$custom-light: #dfc2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d1a8ea",
  "rgb": {
    "r": 209,
    "g": 168,
    "b": 234
  },
  "hsl": {
    "h": 277.273,
    "s": 61.111,
    "l": 78.824
  },
  "oklch": {
    "l": 0.7908,
    "c": 0.10133,
    "h": 312.3
  },
  "luminance": 0.47501
}

Semantic roles & 50–950 ramp

primary
#D1A8EA
secondary
#E3F0DB
accent
#C91D5E
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #D1A8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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