#D8B2FF#D8B2FF

#D8B2FF is a very light, moderate violet. Relative luminance 0.537; OKLCH L 82.4% C 0.113 H 306.6°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#D8B2FF
RGBrgb(216, 178, 255)
HSLhsl(270, 100%, 85%)
HSVhsv(270, 30%, 100%)
CMYKcmyk(15.3%, 30.2%, 0%, 0%)
CIE-LABlab(78.26, 27.99, -32.96)
CIE-LCHlch(78.26, 43.24, 310.34°)
OKLaboklab(82.36% 0.0673 -0.0905)
OKLCHoklch(82.36% 0.113 306.6)
XYZxyz(62.2859, 53.6601, 101.6645)
Luminance0.5366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B2FF #D9FFB2
analogous
#B2B3FF #D8B2FF #FEB2FF
triadic
#D8B2FF #FFD8B2 #B2FFD8
tetradic
#D8B2FF #FFB2B3 #D9FFB2 #B2FFFE
square
#D8B2FF #FFB2B3 #D9FFB2 #B2FFFE
split-complementary
#D8B2FF #FFFEB2 #B3FFB2
monochromatic
#9A38FF #B975FF #D8B2FF #F0E0FF #F0E0FF

Accessibility & contrast

On white

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

On black

11.73
#D8B2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B2FF
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B2FF#FFFFFF#000000##000000
##D8B2FF1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3C0FF
Deuteranopia (green-blind)
#ABC2FD
Tritanopia (blue-blind)
#D3BDCE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d8b2ff;
/* rgb */ color: rgb(216, 178, 255);
/* oklch */ color: oklch(82.4% 0.113 306.6);
Tailwind
colors: {
  custom: {
    50: '#e5c9ff',
    500: '#d8b2ff',
    950: '#000000',
  },
}
SCSS
$custom: #d8b2ff;
$custom-light: #e5c9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b2ff",
  "rgb": {
    "r": 216,
    "g": 178,
    "b": 255
  },
  "hsl": {
    "h": 269.61,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.82359,
    "c": 0.11279,
    "h": 306.6
  },
  "luminance": 0.5366
}

Semantic roles & 50–950 ramp

primary
#D8B2FF
secondary
#ABE670
accent
#E60074
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161318
muted
#848286

Preview Lab

Preview with #D8B2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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