#D08AF7#D08AF7

#D08AF7 is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.5% C 0.167 H 312.5°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#D08AF7
RGBrgb(208, 138, 247)
HSLhsl(279, 87%, 75%)
HSVhsv(279, 44%, 97%)
CMYKcmyk(15.8%, 44.1%, 0%, 3.1%)
CIE-LABlab(68.24, 45.52, -44.27)
CIE-LCHlch(68.24, 63.50, 315.80°)
OKLaboklab(74.49% 0.1127 -0.1229)
OKLCHoklch(74.49% 0.167 312.5)
XYZxyz(51.8865, 38.3033, 92.6376)
Luminance0.3830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08AF7 #B1F78A
analogous
#998AF7 #D08AF7 #F78AE8
triadic
#D08AF7 #F7D08A #8AF7D0
tetradic
#D08AF7 #F7998A #B1F78A #8AE8F7
square
#D08AF7 #F7998A #B1F78A #8AE8F7
split-complementary
#D08AF7 #E8F78A #8AF799
monochromatic
#A217EF #B951F3 #D08AF7 #E7C3FB #F3E2FD

Accessibility & contrast

On white

2.42
#D08AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#D08AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08AF7
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08AF7#FFFFFF#000000##000000
##D08AF71.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FB
Deuteranopia (green-blind)
#86A8F4
Tritanopia (blue-blind)
#CC9AB5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d08af7;
/* rgb */ color: rgb(208, 138, 247);
/* oklch */ color: oklch(74.5% 0.167 312.5);
Tailwind
colors: {
  custom: {
    50: '#e0adfa',
    500: '#d08af7',
    950: '#000000',
  },
}
SCSS
$custom: #d08af7;
$custom-light: #e0adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d08af7",
  "rgb": {
    "r": 208,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 278.532,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74485,
    "c": 0.16671,
    "h": 312.5
  },
  "luminance": 0.38302
}

Semantic roles & 50–950 ramp

primary
#D08AF7
secondary
#E1F5D6
accent
#E40253
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #D08AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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