#D2B8F7#D2B8F7

#D2B8F7 is a very light, moderate violet. Relative luminance 0.547; OKLCH L 82.6% C 0.091 H 303.3°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#D2B8F7
RGBrgb(210, 184, 247)
HSLhsl(265, 80%, 85%)
HSVhsv(265, 26%, 97%)
CMYKcmyk(15%, 25.5%, 0%, 3.1%)
CIE-LABlab(78.87, 21.21, -27.78)
CIE-LCHlch(78.87, 34.95, 307.36°)
OKLaboklab(82.6% 0.05 -0.076)
OKLCHoklch(82.6% 0.091 303.3)
XYZxyz(60.5040, 54.6981, 95.3480)
Luminance0.5470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B8F7 #DDF7B8
analogous
#B8BEF7 #D2B8F7 #F2B8F7
triadic
#D2B8F7 #F7D2B8 #B8F7D2
tetradic
#D2B8F7 #F7B8BE #DDF7B8 #B8F7F2
square
#D2B8F7 #F7B8BE #DDF7B8 #B8F7F2
split-complementary
#D2B8F7 #F7F2B8 #BEF7B8
monochromatic
#8C4AEB #AF81F1 #D2B8F7 #EEE3FC #EEE3FC

Accessibility & contrast

On white

1.76
#D2B8F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#D2B8F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B8F7
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B8F7#FFFFFF#000000##000000
##D2B8F71.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACC3FA
Deuteranopia (green-blind)
#B1C3F5
Tritanopia (blue-blind)
#CCC1CE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2b8f7;
/* rgb */ color: rgb(210, 184, 247);
/* oklch */ color: oklch(82.6% 0.091 303.3);
Tailwind
colors: {
  custom: {
    50: '#e0cdfa',
    500: '#d2b8f7',
    950: '#000000',
  },
}
SCSS
$custom: #d2b8f7;
$custom-light: #e0cdfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b8f7",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 247
  },
  "hsl": {
    "h": 264.762,
    "s": 79.747,
    "l": 84.51
  },
  "oklch": {
    "l": 0.82602,
    "c": 0.09095,
    "h": 303.3
  },
  "luminance": 0.54698
}

Semantic roles & 50–950 ramp

primary
#D2B8F7
secondary
#B2D97A
accent
#DC0985
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #D2B8F7

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

Preview Lab → · Contrast checker → · Palette generator →

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