#D7B2FA#D7B2FA

#D7B2FA is a very light, moderate violet. Relative luminance 0.532; OKLCH L 82.1% C 0.106 H 307.6°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#D7B2FA
RGBrgb(215, 178, 250)
HSLhsl(271, 88%, 84%)
HSVhsv(271, 29%, 98%)
CMYKcmyk(14%, 28.8%, 0%, 2%)
CIE-LABlab(77.99, 26.63, -30.70)
CIE-LCHlch(77.99, 40.65, 310.94°)
OKLaboklab(82.07% 0.0649 -0.0841)
OKLCHoklch(82.07% 0.106 307.6)
XYZxyz(61.1968, 53.1904, 97.4668)
Luminance0.5319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B2FA #D5FAB2
analogous
#B3B2FA #D7B2FA #FAB2F9
triadic
#D7B2FA #FAD7B2 #B2FAD7
tetradic
#D7B2FA #FAB3B2 #D5FAB2 #B2F9FA
square
#D7B2FA #FAB3B2 #D5FAB2 #B2F9FA
split-complementary
#D7B2FA #F9FAB2 #B2FAB3
monochromatic
#9B3FF3 #B979F6 #D7B2FA #F0E2FD #F0E2FD

Accessibility & contrast

On white

1.80
#D7B2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#D7B2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B2FA
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B2FA#FFFFFF#000000##000000
##D7B2FA1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BFFD
Deuteranopia (green-blind)
#ACC1F8
Tritanopia (blue-blind)
#D3BCCC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7b2fa;
/* rgb */ color: rgb(215, 178, 250);
/* oklch */ color: oklch(82.1% 0.106 307.6);
Tailwind
colors: {
  custom: {
    50: '#e4c9fc',
    500: '#d7b2fa',
    950: '#000000',
  },
}
SCSS
$custom: #d7b2fa;
$custom-light: #e4c9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b2fa",
  "rgb": {
    "r": 215,
    "g": 178,
    "b": 250
  },
  "hsl": {
    "h": 270.833,
    "s": 87.805,
    "l": 83.922
  },
  "oklch": {
    "l": 0.82065,
    "c": 0.10625,
    "h": 307.6
  },
  "luminance": 0.5319
}

Semantic roles & 50–950 ramp

primary
#D7B2FA
secondary
#A7DE73
accent
#E40170
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D7B2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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