#D7B3F9#D7B3F9

#D7B3F9 is a very light, moderate violet. Relative luminance 0.535; OKLCH L 82.2% C 0.103 H 307.7°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#D7B3F9
RGBrgb(215, 179, 249)
HSLhsl(271, 85%, 84%)
HSVhsv(271, 28%, 98%)
CMYKcmyk(13.7%, 28.1%, 0%, 2.4%)
CIE-LABlab(78.19, 25.88, -29.86)
CIE-LCHlch(78.19, 39.52, 310.92°)
OKLaboklab(82.21% 0.0632 -0.0818)
OKLCHoklch(82.21% 0.103 307.7)
XYZxyz(61.2401, 53.5273, 96.7098)
Luminance0.5353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B3F9 #D5F9B3
analogous
#B4B3F9 #D7B3F9 #F9B3F8
triadic
#D7B3F9 #F9D7B3 #B3F9D7
tetradic
#D7B3F9 #F9B4B3 #D5F9B3 #B3F8F9
square
#D7B3F9 #F9B4B3 #D5F9B3 #B3F8F9
split-complementary
#D7B3F9 #F8F9B3 #B3F9B4
monochromatic
#9B42F0 #B97AF5 #D7B3F9 #F0E3FD #F0E3FD

Accessibility & contrast

On white

1.79
#D7B3F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#D7B3F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B3F9
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B3F9#FFFFFF#000000##000000
##D7B3F91.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7C0FC
Deuteranopia (green-blind)
#AEC2F7
Tritanopia (blue-blind)
#D3BDCC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7b3f9;
/* rgb */ color: rgb(215, 179, 249);
/* oklch */ color: oklch(82.2% 0.103 307.7);
Tailwind
colors: {
  custom: {
    50: '#e4cafb',
    500: '#d7b3f9',
    950: '#000000',
  },
}
SCSS
$custom: #d7b3f9;
$custom-light: #e4cafb;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b3f9",
  "rgb": {
    "r": 215,
    "g": 179,
    "b": 249
  },
  "hsl": {
    "h": 270.857,
    "s": 85.366,
    "l": 83.922
  },
  "oklch": {
    "l": 0.82205,
    "c": 0.10333,
    "h": 307.7
  },
  "luminance": 0.53527
}

Semantic roles & 50–950 ramp

primary
#D7B3F9
secondary
#A7DC74
accent
#E20470
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D7B3F9

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

Preview Lab → · Contrast checker → · Palette generator →

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