#D7B2FF#D7B2FF

#D7B2FF is a very light, moderate violet. Relative luminance 0.535; OKLCH L 82.3% C 0.112 H 306.0°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#D7B2FF
RGBrgb(215, 178, 255)
HSLhsl(269, 100%, 85%)
HSVhsv(269, 30%, 100%)
CMYKcmyk(15.7%, 30.2%, 0%, 0%)
CIE-LABlab(78.17, 27.69, -33.10)
CIE-LCHlch(78.17, 43.15, 309.91°)
OKLaboklab(82.27% 0.0662 -0.0909)
OKLCHoklch(82.27% 0.112 306)
XYZxyz(61.9912, 53.5082, 101.6507)
Luminance0.5351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B2FF #DAFFB2
analogous
#B2B4FF #D7B2FF #FDB2FF
triadic
#D7B2FF #FFD7B2 #B2FFD7
tetradic
#D7B2FF #FFB2B4 #DAFFB2 #B2FFFD
square
#D7B2FF #FFB2B4 #DAFFB2 #B2FFFD
split-complementary
#D7B2FF #FFFDB2 #B4FFB2
monochromatic
#9738FF #B775FF #D7B2FF #EFE0FF #EFE0FF

Accessibility & contrast

On white

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

On black

11.70
#D7B2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B2FF
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B2FF#FFFFFF#000000##000000
##D7B2FF1.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7b2ff;
/* rgb */ color: rgb(215, 178, 255);
/* oklch */ color: oklch(82.3% 0.112 306.0);
Tailwind
colors: {
  custom: {
    50: '#e4c9ff',
    500: '#d7b2ff',
    950: '#000000',
  },
}
SCSS
$custom: #d7b2ff;
$custom-light: #e4c9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b2ff",
  "rgb": {
    "r": 215,
    "g": 178,
    "b": 255
  },
  "hsl": {
    "h": 268.831,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.8227,
    "c": 0.11248,
    "h": 306
  },
  "luminance": 0.53508
}

Semantic roles & 50–950 ramp

primary
#D7B2FF
secondary
#ADE670
accent
#E60077
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #D7B2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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