#D7B4FA#D7B4FA

#D7B4FA is a very light, moderate violet. Relative luminance 0.540; OKLCH L 82.4% C 0.103 H 307.1°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#D7B4FA
RGBrgb(215, 180, 250)
HSLhsl(270, 88%, 84%)
HSVhsv(270, 28%, 98%)
CMYKcmyk(14%, 28%, 0%, 2%)
CIE-LABlab(78.46, 25.55, -29.98)
CIE-LCHlch(78.46, 39.39, 310.44°)
OKLaboklab(82.43% 0.062 -0.0821)
OKLCHoklch(82.43% 0.103 307.1)
XYZxyz(61.5977, 53.9921, 97.6004)
Luminance0.5399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B4FA #D7FAB4
analogous
#B4B4FA #D7B4FA #FAB4FA
triadic
#D7B4FA #FAD7B4 #B4FAD7
tetradic
#D7B4FA #FAB4B4 #D7FAB4 #B4FAFA
square
#D7B4FA #FAB4B4 #D7FAB4 #B4FAFA
split-complementary
#D7B4FA #FAFAB4 #B4FAB4
monochromatic
#9A41F2 #B87BF6 #D7B4FA #F0E2FD #F0E2FD

Accessibility & contrast

On white

1.78
#D7B4FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#D7B4FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B4FA
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B4FA#FFFFFF#000000##000000
##D7B4FA1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7C1FD
Deuteranopia (green-blind)
#AEC2F8
Tritanopia (blue-blind)
#D2BECD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d7b4fa;
/* rgb */ color: rgb(215, 180, 250);
/* oklch */ color: oklch(82.4% 0.103 307.1);
Tailwind
colors: {
  custom: {
    50: '#e4cafc',
    500: '#d7b4fa',
    950: '#000000',
  },
}
SCSS
$custom: #d7b4fa;
$custom-light: #e4cafc;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b4fa",
  "rgb": {
    "r": 215,
    "g": 180,
    "b": 250
  },
  "hsl": {
    "h": 270,
    "s": 87.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.82426,
    "c": 0.10289,
    "h": 307.1
  },
  "luminance": 0.53992
}

Semantic roles & 50–950 ramp

primary
#D7B4FA
secondary
#A9DE74
accent
#E40173
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D7B4FA

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

Preview Lab → · Contrast checker → · Palette generator →

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