#D4B7FA#D4B7FA

#D4B7FA is a very light, moderate violet. Relative luminance 0.548; OKLCH L 82.7% C 0.097 H 304.1°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#D4B7FA
RGBrgb(212, 183, 250)
HSLhsl(266, 87%, 85%)
HSVhsv(266, 27%, 98%)
CMYKcmyk(15.2%, 26.8%, 0%, 2%)
CIE-LABlab(78.91, 23.00, -29.31)
CIE-LCHlch(78.91, 37.26, 308.12°)
OKLaboklab(82.71% 0.0544 -0.0803)
OKLCHoklch(82.71% 0.097 304.1)
XYZxyz(61.3368, 54.7663, 97.7636)
Luminance0.5477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B7FA #DDFAB7
analogous
#B7BCFA #D4B7FA #F5B7FA
triadic
#D4B7FA #FAD4B7 #B7FAD4
tetradic
#D4B7FA #FAB7BC #DDFAB7 #B7FAF5
square
#D4B7FA #FAB7BC #DDFAB7 #B7FAF5
split-complementary
#D4B7FA #FAF5B7 #BCFAB7
monochromatic
#9045F2 #B27EF6 #D4B7FA #EEE2FD #EEE2FD

Accessibility & contrast

On white

1.76
#D4B7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#D4B7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B7FA
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B7FA#FFFFFF#000000##000000
##D4B7FA1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4b7fa;
/* rgb */ color: rgb(212, 183, 250);
/* oklch */ color: oklch(82.7% 0.097 304.1);
Tailwind
colors: {
  custom: {
    50: '#e2ccfc',
    500: '#d4b7fa',
    950: '#000000',
  },
}
SCSS
$custom: #d4b7fa;
$custom-light: #e2ccfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b7fa",
  "rgb": {
    "r": 212,
    "g": 183,
    "b": 250
  },
  "hsl": {
    "h": 265.97,
    "s": 87.013,
    "l": 84.902
  },
  "oklch": {
    "l": 0.82709,
    "c": 0.09701,
    "h": 304.1
  },
  "luminance": 0.54766
}

Semantic roles & 50–950 ramp

primary
#D4B7FA
secondary
#B2DE77
accent
#E40282
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #D4B7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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