#D06AFE#D06AFE

#D06AFE is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.3% C 0.223 H 314.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#D06AFE
RGBrgb(208, 106, 254)
HSLhsl(281, 99%, 71%)
HSVhsv(281, 58%, 100%)
CMYKcmyk(18.1%, 58.3%, 0%, 0.4%)
CIE-LABlab(62.40, 63.12, -57.35)
CIE-LCHlch(62.40, 85.28, 317.74°)
OKLaboklab(70.28% 0.155 -0.1607)
OKLCHoklch(70.28% 0.223 314)
XYZxyz(49.0529, 30.8752, 97.1222)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D06AFE #98FE6A
analogous
#866AFE #D06AFE #FE6AE2
triadic
#D06AFE #FED06A #6AFED0
tetradic
#D06AFE #FE866A #98FE6A #6AE2FE
square
#D06AFE #FE866A #98FE6A #6AE2FE
split-complementary
#D06AFE #E2FE6A #6AFE86
monochromatic
#A302EC #BD2DFE #D06AFE #E3A7FE #F5E1FF

Accessibility & contrast

On white

2.93
#D06AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#D06AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D06AFE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D06AFE#FFFFFF#000000##000000
##D06AFE1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C91FF
Deuteranopia (green-blind)
#6599FA
Tritanopia (blue-blind)
#CC84AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d06afe;
/* rgb */ color: rgb(208, 106, 254);
/* oklch */ color: oklch(70.3% 0.223 314.0);
Tailwind
colors: {
  custom: {
    50: '#e299ff',
    500: '#d06afe',
    950: '#000000',
  },
}
SCSS
$custom: #d06afe;
$custom-light: #e299ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d06afe",
  "rgb": {
    "r": 208,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 281.351,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70282,
    "c": 0.22329,
    "h": 314
  },
  "luminance": 0.30874
}

Semantic roles & 50–950 ramp

primary
#D06AFE
secondary
#DAF6CE
accent
#E60047
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D06AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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