#D2B8EA#D2B8EA

#D2B8EA is a very light, moderate violet. Relative luminance 0.539; OKLCH L 82.1% C 0.074 H 308.3°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#D2B8EA
RGBrgb(210, 184, 234)
HSLhsl(271, 54%, 82%)
HSVhsv(271, 21%, 92%)
CMYKcmyk(10.3%, 21.4%, 0%, 8.2%)
CIE-LABlab(78.42, 18.51, -21.47)
CIE-LCHlch(78.42, 28.35, 310.76°)
OKLaboklab(82.11% 0.0461 -0.0583)
OKLCHoklch(82.11% 0.074 308.3)
XYZxyz(58.5675, 53.9235, 85.1488)
Luminance0.5392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B8EA #D0EAB8
analogous
#B9B8EA #D2B8EA #EAB8E9
triadic
#D2B8EA #EAD2B8 #B8EAD2
tetradic
#D2B8EA #EAB9B8 #D0EAB8 #B8E9EA
square
#D2B8EA #EAB9B8 #D0EAB8 #B8E9EA
split-complementary
#D2B8EA #E9EAB8 #B8EAB9
monochromatic
#965ACE #B489DC #D2B8EA #F0E7F8 #F0E7F8

Accessibility & contrast

On white

1.78
#D2B8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#D2B8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B8EA
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B8EA#FFFFFF#000000##000000
##D2B8EA1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0C1EC
Deuteranopia (green-blind)
#B5C2E8
Tritanopia (blue-blind)
#CFBEC9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2b8ea;
/* rgb */ color: rgb(210, 184, 234);
/* oklch */ color: oklch(82.1% 0.074 308.3);
Tailwind
colors: {
  custom: {
    50: '#e0cdf0',
    500: '#d2b8ea',
    950: '#000000',
  },
}
SCSS
$custom: #d2b8ea;
$custom-light: #e0cdf0;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b8ea",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 234
  },
  "hsl": {
    "h": 271.2,
    "s": 54.348,
    "l": 81.961
  },
  "oklch": {
    "l": 0.82106,
    "c": 0.07431,
    "h": 308.3
  },
  "luminance": 0.53923
}

Semantic roles & 50–950 ramp

primary
#D2B8EA
secondary
#A2C680
accent
#C22470
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #D2B8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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