#D7ABFA#D7ABFA

#D7ABFA is a light, moderate violet. Relative luminance 0.505; OKLCH L 80.8% C 0.118 H 309.4°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#D7ABFA
RGBrgb(215, 171, 250)
HSLhsl(273, 89%, 83%)
HSVhsv(273, 32%, 98%)
CMYKcmyk(14%, 31.6%, 0%, 2%)
CIE-LABlab(76.36, 30.43, -33.21)
CIE-LCHlch(76.36, 45.04, 312.50°)
OKLaboklab(80.82% 0.0748 -0.0912)
OKLCHoklch(80.82% 0.118 309.4)
XYZxyz(59.8394, 50.4756, 97.0143)
Luminance0.5048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7ABFA #CEFAAB
analogous
#B0ABFA #D7ABFA #FAABF5
triadic
#D7ABFA #FAD7AB #ABFAD7
tetradic
#D7ABFA #FAB0AB #CEFAAB #ABF5FA
square
#D7ABFA #FAB0AB #CEFAAB #ABF5FA
split-complementary
#D7ABFA #F5FAAB #ABFAB0
monochromatic
#A037F3 #BB71F7 #D7ABFA #F1E2FD #F1E2FD

Accessibility & contrast

On white

1.89
#D7ABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#D7ABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7ABFA
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7ABFA#FFFFFF#000000##000000
##D7ABFA1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBAFD
Deuteranopia (green-blind)
#A6BDF8
Tritanopia (blue-blind)
#D3B6C8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7abfa;
/* rgb */ color: rgb(215, 171, 250);
/* oklch */ color: oklch(80.8% 0.118 309.4);
Tailwind
colors: {
  custom: {
    50: '#e4c4fc',
    500: '#d7abfa',
    950: '#000000',
  },
}
SCSS
$custom: #d7abfa;
$custom-light: #e4c4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d7abfa",
  "rgb": {
    "r": 215,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 273.418,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.80821,
    "c": 0.11799,
    "h": 309.4
  },
  "luminance": 0.50475
}

Semantic roles & 50–950 ramp

primary
#D7ABFA
secondary
#9EDD6C
accent
#E50066
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161217
muted
#848285

Preview Lab

Preview with #D7ABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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