#D08AFE#D08AFE

#D08AFE is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.8% C 0.175 H 310.6°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#D08AFE
RGBrgb(208, 138, 254)
HSLhsl(276, 98%, 77%)
HSVhsv(276, 46%, 100%)
CMYKcmyk(18.1%, 45.7%, 0%, 0.4%)
CIE-LABlab(68.57, 47.01, -47.58)
CIE-LCHlch(68.57, 66.89, 314.65°)
OKLaboklab(74.83% 0.1137 -0.1325)
OKLCHoklch(74.83% 0.175 310.6)
XYZxyz(52.9871, 38.7435, 98.4336)
Luminance0.3874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08AFE #B8FE8A
analogous
#968AFE #D08AFE #FE8AF2
triadic
#D08AFE #FED08A #8AFED0
tetradic
#D08AFE #FE968A #B8FE8A #8AF2FE
square
#D08AFE #FE968A #B8FE8A #8AF2FE
split-complementary
#D08AFE #F2FE8A #8AFE96
monochromatic
#9F11FD #B84DFD #D08AFE #E8C7FF #F3E1FF

Accessibility & contrast

On white

2.40
#D08AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#D08AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08AFE
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08AFE#FFFFFF#000000##000000
##D08AFE1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#82A9FB
Tritanopia (blue-blind)
#CB9CB8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d08afe;
/* rgb */ color: rgb(208, 138, 254);
/* oklch */ color: oklch(74.8% 0.175 310.6);
Tailwind
colors: {
  custom: {
    50: '#e0aeff',
    500: '#d08afe',
    950: '#000000',
  },
}
SCSS
$custom: #d08afe;
$custom-light: #e0aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#d08afe",
  "rgb": {
    "r": 208,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 276.207,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74831,
    "c": 0.17458,
    "h": 310.6
  },
  "luminance": 0.38743
}

Semantic roles & 50–950 ramp

primary
#D08AFE
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #D08AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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