#D8A3FB#D8A3FB

#D8A3FB is a light, vivid violet. Relative luminance 0.478; OKLCH L 79.6% C 0.133 H 311.2°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#D8A3FB
RGBrgb(216, 163, 251)
HSLhsl(276, 92%, 81%)
HSVhsv(276, 35%, 98%)
CMYKcmyk(13.9%, 35.1%, 0%, 1.6%)
CIE-LABlab(74.67, 35.27, -36.35)
CIE-LCHlch(74.67, 50.65, 314.13°)
OKLaboklab(79.57% 0.0876 -0.1001)
OKLCHoklch(79.57% 0.133 311.2)
XYZxyz(58.8257, 47.7592, 97.3676)
Luminance0.4776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A3FB #C6FBA3
analogous
#ACA3FB #D8A3FB #FBA3F2
triadic
#D8A3FB #FBD8A3 #A3FBD8
tetradic
#D8A3FB #FBACA3 #C6FBA3 #A3F2FB
square
#D8A3FB #FBACA3 #C6FBA3 #A3F2FB
split-complementary
#D8A3FB #F2FBA3 #A3FBAC
monochromatic
#A62EF6 #BF68F8 #D8A3FB #F1DEFE #F3E2FE

Accessibility & contrast

On white

1.99
#D8A3FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#D8A3FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A3FB
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A3FB#FFFFFF#000000##000000
##D8A3FB1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FE
Deuteranopia (green-blind)
#9FB9F8
Tritanopia (blue-blind)
#D4AFC4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8a3fb;
/* rgb */ color: rgb(216, 163, 251);
/* oklch */ color: oklch(79.6% 0.133 311.2);
Tailwind
colors: {
  custom: {
    50: '#e5bffd',
    500: '#d8a3fb',
    950: '#000000',
  },
}
SCSS
$custom: #d8a3fb;
$custom-light: #e5bffd;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a3fb",
  "rgb": {
    "r": 216,
    "g": 163,
    "b": 251
  },
  "hsl": {
    "h": 276.136,
    "s": 91.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.79572,
    "c": 0.13302,
    "h": 311.2
  },
  "luminance": 0.47758
}

Semantic roles & 50–950 ramp

primary
#D8A3FB
secondary
#E2F6D5
accent
#E6005B
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D8A3FB

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

Preview Lab → · Contrast checker → · Palette generator →

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