#D2B7EA#D2B7EA

#D2B7EA is a light, moderate violet. Relative luminance 0.535; OKLCH L 81.9% C 0.076 H 308.7°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#D2B7EA
RGBrgb(210, 183, 234)
HSLhsl(272, 55%, 82%)
HSVhsv(272, 22%, 92%)
CMYKcmyk(10.3%, 21.8%, 0%, 8.2%)
CIE-LABlab(78.17, 19.05, -21.84)
CIE-LCHlch(78.17, 28.98, 311.09°)
OKLaboklab(81.92% 0.0475 -0.0593)
OKLCHoklch(81.92% 0.076 308.7)
XYZxyz(58.3605, 53.5095, 85.0798)
Luminance0.5351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B7EA #CFEAB7
analogous
#B9B7EA #D2B7EA #EAB7E9
triadic
#D2B7EA #EAD2B7 #B7EAD2
tetradic
#D2B7EA #EAB9B7 #CFEAB7 #B7E9EA
square
#D2B7EA #EAB9B7 #CFEAB7 #B7E9EA
split-complementary
#D2B7EA #E9EAB7 #B7EAB9
monochromatic
#9758CE #B488DC #D2B7EA #F0E6F8 #F0E7F8

Accessibility & contrast

On white

1.79
#D2B7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#D2B7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B7EA
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B7EA#FFFFFF#000000##000000
##D2B7EA1.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC0EC
Deuteranopia (green-blind)
#B4C2E8
Tritanopia (blue-blind)
#CFBDC8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2b7ea;
/* rgb */ color: rgb(210, 183, 234);
/* oklch */ color: oklch(81.9% 0.076 308.7);
Tailwind
colors: {
  custom: {
    50: '#e0ccf0',
    500: '#d2b7ea',
    950: '#000000',
  },
}
SCSS
$custom: #d2b7ea;
$custom-light: #e0ccf0;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b7ea",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 234
  },
  "hsl": {
    "h": 271.765,
    "s": 54.839,
    "l": 81.765
  },
  "oklch": {
    "l": 0.81919,
    "c": 0.07601,
    "h": 308.7
  },
  "luminance": 0.53509
}

Semantic roles & 50–950 ramp

primary
#D2B7EA
secondary
#A1C67F
accent
#C2236E
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #D2B7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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