#D4B2FA#D4B2FA

#D4B2FA is a light, moderate violet. Relative luminance 0.527; OKLCH L 81.8% C 0.105 H 305.8°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#D4B2FA
RGBrgb(212, 178, 250)
HSLhsl(268, 88%, 84%)
HSVhsv(268, 29%, 98%)
CMYKcmyk(15.2%, 28.8%, 0%, 2%)
CIE-LABlab(77.72, 25.72, -31.14)
CIE-LCHlch(77.72, 40.38, 309.56°)
OKLaboklab(81.8% 0.0615 -0.0854)
OKLCHoklch(81.8% 0.105 305.8)
XYZxyz(60.3238, 52.7402, 97.4259)
Luminance0.5274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B2FA #D8FAB2
analogous
#B2B4FA #D4B2FA #F8B2FA
triadic
#D4B2FA #FAD4B2 #B2FAD4
tetradic
#D4B2FA #FAB2B4 #D8FAB2 #B2FAF8
square
#D4B2FA #FAB2B4 #D8FAB2 #B2FAF8
split-complementary
#D4B2FA #FAF8B2 #B4FAB2
monochromatic
#943FF3 #B479F6 #D4B2FA #EFE2FD #EFE2FD

Accessibility & contrast

On white

1.82
#D4B2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#D4B2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B2FA
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B2FA#FFFFFF#000000##000000
##D4B2FA1.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BFFD
Deuteranopia (green-blind)
#ABC0F8
Tritanopia (blue-blind)
#CFBCCC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d4b2fa;
/* rgb */ color: rgb(212, 178, 250);
/* oklch */ color: oklch(81.8% 0.105 305.8);
Tailwind
colors: {
  custom: {
    50: '#e2c9fc',
    500: '#d4b2fa',
    950: '#000000',
  },
}
SCSS
$custom: #d4b2fa;
$custom-light: #e2c9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b2fa",
  "rgb": {
    "r": 212,
    "g": 178,
    "b": 250
  },
  "hsl": {
    "h": 268.333,
    "s": 87.805,
    "l": 83.922
  },
  "oklch": {
    "l": 0.81799,
    "c": 0.10527,
    "h": 305.8
  },
  "luminance": 0.5274
}

Semantic roles & 50–950 ramp

primary
#D4B2FA
secondary
#ABDE73
accent
#E40179
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D4B2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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