#D7B8FA#D7B8FA

#D7B8FA is a very light, moderate violet. Relative luminance 0.556; OKLCH L 83.2% C 0.096 H 305.8°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#D7B8FA
RGBrgb(215, 184, 250)
HSLhsl(268, 87%, 85%)
HSVhsv(268, 26%, 98%)
CMYKcmyk(14%, 26.4%, 0%, 2%)
CIE-LABlab(79.40, 23.38, -28.53)
CIE-LCHlch(79.40, 36.89, 309.34°)
OKLaboklab(83.15% 0.0563 -0.078)
OKLCHoklch(83.15% 0.096 305.8)
XYZxyz(62.4169, 55.6305, 97.8735)
Luminance0.5563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B8FA #DBFAB8
analogous
#B8BAFA #D7B8FA #F8B8FA
triadic
#D7B8FA #FAD7B8 #B8FAD7
tetradic
#D7B8FA #FAB8BA #DBFAB8 #B8FAF8
square
#D7B8FA #FAB8BA #DBFAB8 #B8FAF8
split-complementary
#D7B8FA #FAF8B8 #BAFAB8
monochromatic
#9746F2 #B77FF6 #D7B8FA #EFE2FD #EFE2FD

Accessibility & contrast

On white

1.73
#D7B8FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#D7B8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B8FA
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B8FA#FFFFFF#000000##000000
##D7B8FA1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACC4FD
Deuteranopia (green-blind)
#B2C5F8
Tritanopia (blue-blind)
#D2C1CF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7b8fa;
/* rgb */ color: rgb(215, 184, 250);
/* oklch */ color: oklch(83.2% 0.096 305.8);
Tailwind
colors: {
  custom: {
    50: '#e4cdfc',
    500: '#d7b8fa',
    950: '#000000',
  },
}
SCSS
$custom: #d7b8fa;
$custom-light: #e4cdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b8fa",
  "rgb": {
    "r": 215,
    "g": 184,
    "b": 250
  },
  "hsl": {
    "h": 268.182,
    "s": 86.842,
    "l": 85.098
  },
  "oklch": {
    "l": 0.83152,
    "c": 0.09624,
    "h": 305.8
  },
  "luminance": 0.5563
}

Semantic roles & 50–950 ramp

primary
#D7B8FA
secondary
#AEDE78
accent
#E3027A
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #D7B8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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