#D2B7FA#D2B7FA

#D2B7FA is a very light, moderate violet. Relative luminance 0.545; OKLCH L 82.5% C 0.096 H 302.8°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#D2B7FA
RGBrgb(210, 183, 250)
HSLhsl(264, 87%, 85%)
HSVhsv(264, 27%, 98%)
CMYKcmyk(16%, 26.8%, 0%, 2%)
CIE-LABlab(78.74, 22.39, -29.59)
CIE-LCHlch(78.74, 37.11, 307.11°)
OKLaboklab(82.54% 0.0522 -0.0811)
OKLCHoklch(82.54% 0.096 302.8)
XYZxyz(60.7637, 54.4708, 97.7367)
Luminance0.5447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B7FA #DFFAB7
analogous
#B7BEFA #D2B7FA #F3B7FA
triadic
#D2B7FA #FAD2B7 #B7FAD2
tetradic
#D2B7FA #FAB7BE #DFFAB7 #B7FAF3
square
#D2B7FA #FAB7BE #DFFAB7 #B7FAF3
split-complementary
#D2B7FA #FAF3B7 #BEFAB7
monochromatic
#8A45F2 #AE7EF6 #D2B7FA #EDE2FD #EDE2FD

Accessibility & contrast

On white

1.77
#D2B7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#D2B7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B7FA
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B7FA#FFFFFF#000000##000000
##D2B7FA1.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAC2FD
Deuteranopia (green-blind)
#AFC3F8
Tritanopia (blue-blind)
#CCC1CF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2b7fa;
/* rgb */ color: rgb(210, 183, 250);
/* oklch */ color: oklch(82.5% 0.096 302.8);
Tailwind
colors: {
  custom: {
    50: '#e0ccfc',
    500: '#d2b7fa',
    950: '#000000',
  },
}
SCSS
$custom: #d2b7fa;
$custom-light: #e0ccfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b7fa",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 250
  },
  "hsl": {
    "h": 264.179,
    "s": 87.013,
    "l": 84.902
  },
  "oklch": {
    "l": 0.82536,
    "c": 0.09646,
    "h": 302.8
  },
  "luminance": 0.54471
}

Semantic roles & 50–950 ramp

primary
#D2B7FA
secondary
#B5DE77
accent
#E40289
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #D2B7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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