#D8A2F2#D8A2F2

#D8A2F2 is a light, vivid purple. Relative luminance 0.469; OKLCH L 79.0% C 0.124 H 314.4°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#D8A2F2
RGBrgb(216, 162, 242)
HSLhsl(281, 75%, 79%)
HSVhsv(281, 33%, 95%)
CMYKcmyk(10.7%, 33.1%, 0%, 5.1%)
CIE-LABlab(74.09, 33.96, -32.37)
CIE-LCHlch(74.09, 46.91, 316.37°)
OKLaboklab(79.02% 0.0869 -0.0888)
OKLCHoklch(79.02% 0.124 314.4)
XYZxyz(57.2637, 46.8515, 90.0138)
Luminance0.4685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A2F2 #BCF2A2
analogous
#B0A2F2 #D8A2F2 #F2A2E4
triadic
#D8A2F2 #F2D8A2 #A2F2D8
tetradic
#D8A2F2 #F2B0A2 #BCF2A2 #A2E4F2
square
#D8A2F2 #F2B0A2 #BCF2A2 #A2E4F2
split-complementary
#D8A2F2 #E4F2A2 #A2F2B0
monochromatic
#AB37E3 #C16CEA #D8A2F2 #EFD8FA #F4E4FB

Accessibility & contrast

On white

2.03
#D8A2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#D8A2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A2F2
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A2F2#FFFFFF#000000##000000
##D8A2F21.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B3F5
Deuteranopia (green-blind)
#A2B8F0
Tritanopia (blue-blind)
#D6ACBF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d8a2f2;
/* rgb */ color: rgb(216, 162, 242);
/* oklch */ color: oklch(79.0% 0.124 314.4);
Tailwind
colors: {
  custom: {
    50: '#e5bef6',
    500: '#d8a2f2',
    950: '#000000',
  },
}
SCSS
$custom: #d8a2f2;
$custom-light: #e5bef6;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a2f2",
  "rgb": {
    "r": 216,
    "g": 162,
    "b": 242
  },
  "hsl": {
    "h": 280.5,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79016,
    "c": 0.12421,
    "h": 314.4
  },
  "luminance": 0.4685
}

Semantic roles & 50–950 ramp

primary
#D8A2F2
secondary
#E1F3D8
accent
#D80E4F
background
#FEFBFF
surface
#FCF7FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #D8A2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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