#D8A8FC#D8A8FC

#D8A8FC is a light, vivid violet. Relative luminance 0.496; OKLCH L 80.5% C 0.126 H 309.9°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#D8A8FC
RGBrgb(216, 168, 252)
HSLhsl(274, 93%, 82%)
HSVhsv(274, 33%, 99%)
CMYKcmyk(14.3%, 33.3%, 0%, 1.2%)
CIE-LABlab(75.84, 32.78, -35.08)
CIE-LCHlch(75.84, 48.01, 313.06°)
OKLaboklab(80.47% 0.0807 -0.0965)
OKLCHoklch(80.47% 0.126 309.9)
XYZxyz(59.8891, 49.6332, 98.5018)
Luminance0.4963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A8FC #CCFCA8
analogous
#AEA8FC #D8A8FC #FCA8F6
triadic
#D8A8FC #FCD8A8 #A8FCD8
tetradic
#D8A8FC #FCAEA8 #CCFCA8 #A8F6FC
square
#D8A8FC #FCAEA8 #CCFCA8 #A8F6FC
split-complementary
#D8A8FC #F6FCA8 #A8FCAE
monochromatic
#A332F8 #BD6DFA #D8A8FC #F2E1FE #F2E1FE

Accessibility & contrast

On white

1.92
#D8A8FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#D8A8FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A8FC
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A8FC#FFFFFF#000000##000000
##D8A8FC1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B9FF
Deuteranopia (green-blind)
#A3BCFA
Tritanopia (blue-blind)
#D4B4C7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8a8fc;
/* rgb */ color: rgb(216, 168, 252);
/* oklch */ color: oklch(80.5% 0.126 309.9);
Tailwind
colors: {
  custom: {
    50: '#e5c2fd',
    500: '#d8a8fc',
    950: '#000000',
  },
}
SCSS
$custom: #d8a8fc;
$custom-light: #e5c2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a8fc",
  "rgb": {
    "r": 216,
    "g": 168,
    "b": 252
  },
  "hsl": {
    "h": 274.286,
    "s": 93.333,
    "l": 82.353
  },
  "oklch": {
    "l": 0.80475,
    "c": 0.12582,
    "h": 309.9
  },
  "luminance": 0.49632
}

Semantic roles & 50–950 ramp

primary
#D8A8FC
secondary
#E3F6D5
accent
#E60062
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D8A8FC

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

Preview Lab → · Contrast checker → · Palette generator →

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