#D7B8F7#D7B8F7

#D7B8F7 is a very light, moderate violet. Relative luminance 0.554; OKLCH L 83.0% C 0.092 H 306.9°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#D7B8F7
RGBrgb(215, 184, 247)
HSLhsl(270, 80%, 85%)
HSVhsv(270, 26%, 97%)
CMYKcmyk(13%, 25.5%, 0%, 3.1%)
CIE-LABlab(79.30, 22.76, -27.09)
CIE-LCHlch(79.30, 35.38, 310.04°)
OKLaboklab(83.04% 0.0555 -0.074)
OKLCHoklch(83.04% 0.092 306.9)
XYZxyz(61.9502, 55.4438, 95.4157)
Luminance0.5544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B8F7 #D8F7B8
analogous
#B8B9F7 #D7B8F7 #F7B8F7
triadic
#D7B8F7 #F7D7B8 #B8F7D7
tetradic
#D7B8F7 #F7B8B9 #D8F7B8 #B8F7F7
square
#D7B8F7 #F7B8B9 #D8F7B8 #B8F7F7
split-complementary
#D7B8F7 #F7F7B8 #B9F7B8
monochromatic
#994AEB #B881F1 #D7B8F7 #F0E3FC #F0E3FC

Accessibility & contrast

On white

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

On black

12.09
#D7B8F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B8F7
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B8F7#FFFFFF#000000##000000
##D7B8F71.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADC3FA
Deuteranopia (green-blind)
#B3C5F5
Tritanopia (blue-blind)
#D3C0CE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7b8f7;
/* rgb */ color: rgb(215, 184, 247);
/* oklch */ color: oklch(83.0% 0.092 306.9);
Tailwind
colors: {
  custom: {
    50: '#e4cdfa',
    500: '#d7b8f7',
    950: '#000000',
  },
}
SCSS
$custom: #d7b8f7;
$custom-light: #e4cdfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b8f7",
  "rgb": {
    "r": 215,
    "g": 184,
    "b": 247
  },
  "hsl": {
    "h": 269.524,
    "s": 79.747,
    "l": 84.51
  },
  "oklch": {
    "l": 0.83035,
    "c": 0.09245,
    "h": 306.9
  },
  "luminance": 0.55443
}

Semantic roles & 50–950 ramp

primary
#D7B8F7
secondary
#AAD97A
accent
#DC0974
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #D7B8F7

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

Preview Lab → · Contrast checker → · Palette generator →

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