#D7B4F9#D7B4F9

#D7B4F9 is a very light, moderate violet. Relative luminance 0.539; OKLCH L 82.4% C 0.102 H 307.4°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#D7B4F9
RGBrgb(215, 180, 249)
HSLhsl(270, 85%, 84%)
HSVhsv(270, 28%, 98%)
CMYKcmyk(13.7%, 27.7%, 0%, 2.4%)
CIE-LABlab(78.42, 25.34, -29.50)
CIE-LCHlch(78.42, 38.89, 310.66°)
OKLaboklab(82.39% 0.0617 -0.0807)
OKLCHoklch(82.39% 0.102 307.4)
XYZxyz(61.4413, 53.9295, 96.7768)
Luminance0.5393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B4F9 #D6F9B4
analogous
#B5B4F9 #D7B4F9 #F9B4F8
triadic
#D7B4F9 #F9D7B4 #B4F9D7
tetradic
#D7B4F9 #F9B5B4 #D6F9B4 #B4F8F9
square
#D7B4F9 #F9B5B4 #D6F9B4 #B4F8F9
split-complementary
#D7B4F9 #F8F9B4 #B4F9B5
monochromatic
#9B43F0 #B97BF4 #D7B4F9 #F0E3FD #F0E3FD

Accessibility & contrast

On white

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

On black

11.79
#D7B4F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B4F9
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B4F9#FFFFFF#000000##000000
##D7B4F91.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C1FC
Deuteranopia (green-blind)
#AFC2F7
Tritanopia (blue-blind)
#D3BDCC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d7b4f9;
/* rgb */ color: rgb(215, 180, 249);
/* oklch */ color: oklch(82.4% 0.102 307.4);
Tailwind
colors: {
  custom: {
    50: '#e4cafb',
    500: '#d7b4f9',
    950: '#000000',
  },
}
SCSS
$custom: #d7b4f9;
$custom-light: #e4cafb;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b4f9",
  "rgb": {
    "r": 215,
    "g": 180,
    "b": 249
  },
  "hsl": {
    "h": 270.435,
    "s": 85.185,
    "l": 84.118
  },
  "oklch": {
    "l": 0.82385,
    "c": 0.10165,
    "h": 307.4
  },
  "luminance": 0.53929
}

Semantic roles & 50–950 ramp

primary
#D7B4F9
secondary
#A8DC75
accent
#E20471
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D7B4F9

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

Preview Lab → · Contrast checker → · Palette generator →

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