#D4B8FA#D4B8FA

#D4B8FA is a very light, moderate violet. Relative luminance 0.552; OKLCH L 82.9% C 0.095 H 303.8°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#D4B8FA
RGBrgb(212, 184, 250)
HSLhsl(265, 87%, 85%)
HSVhsv(265, 26%, 98%)
CMYKcmyk(15.2%, 26.4%, 0%, 2%)
CIE-LABlab(79.14, 22.46, -28.95)
CIE-LCHlch(79.14, 36.64, 307.80°)
OKLaboklab(82.89% 0.053 -0.0793)
OKLCHoklch(82.89% 0.095 303.8)
XYZxyz(61.5438, 55.1803, 97.8325)
Luminance0.5518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B8FA #DEFAB8
analogous
#B8BDFA #D4B8FA #F5B8FA
triadic
#D4B8FA #FAD4B8 #B8FAD4
tetradic
#D4B8FA #FAB8BD #DEFAB8 #B8FAF5
square
#D4B8FA #FAB8BD #DEFAB8 #B8FAF5
split-complementary
#D4B8FA #FAF5B8 #BDFAB8
monochromatic
#8F46F2 #B17FF6 #D4B8FA #EEE2FD #EEE2FD

Accessibility & contrast

On white

1.74
#D4B8FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#D4B8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B8FA
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B8FA#FFFFFF#000000##000000
##D4B8FA1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABC3FD
Deuteranopia (green-blind)
#B0C4F8
Tritanopia (blue-blind)
#CEC1CF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d4b8fa;
/* rgb */ color: rgb(212, 184, 250);
/* oklch */ color: oklch(82.9% 0.095 303.8);
Tailwind
colors: {
  custom: {
    50: '#e2cdfc',
    500: '#d4b8fa',
    950: '#000000',
  },
}
SCSS
$custom: #d4b8fa;
$custom-light: #e2cdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b8fa",
  "rgb": {
    "r": 212,
    "g": 184,
    "b": 250
  },
  "hsl": {
    "h": 265.455,
    "s": 86.842,
    "l": 85.098
  },
  "oklch": {
    "l": 0.82892,
    "c": 0.09536,
    "h": 303.8
  },
  "luminance": 0.5518
}

Semantic roles & 50–950 ramp

primary
#D4B8FA
secondary
#B3DE78
accent
#E30284
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #D4B8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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