#D08AFA#D08AFA

#D08AFA is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.6% C 0.170 H 311.7°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#D08AFA
RGBrgb(208, 138, 250)
HSLhsl(278, 92%, 76%)
HSVhsv(278, 45%, 98%)
CMYKcmyk(16.8%, 44.8%, 0%, 2%)
CIE-LABlab(68.38, 46.15, -45.69)
CIE-LCHlch(68.38, 64.95, 315.29°)
OKLaboklab(74.63% 0.1131 -0.127)
OKLCHoklch(74.63% 0.17 311.7)
XYZxyz(52.3532, 38.4900, 95.0953)
Luminance0.3849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08AFA #B4FA8A
analogous
#988AFA #D08AFA #FA8AEC
triadic
#D08AFA #FAD08A #8AFAD0
tetradic
#D08AFA #FA988A #B4FA8A #8AECFA
square
#D08AFA #FA988A #B4FA8A #8AECFA
split-complementary
#D08AFA #ECFA8A #8AFA98
monochromatic
#A115F5 #B84FF7 #D08AFA #E8C5FD #F3E2FE

Accessibility & contrast

On white

2.41
#D08AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#D08AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08AFA
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08AFA#FFFFFF#000000##000000
##D08AFA1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FE
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#CC9BB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d08afa;
/* rgb */ color: rgb(208, 138, 250);
/* oklch */ color: oklch(74.6% 0.170 311.7);
Tailwind
colors: {
  custom: {
    50: '#e0adfc',
    500: '#d08afa',
    950: '#000000',
  },
}
SCSS
$custom: #d08afa;
$custom-light: #e0adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d08afa",
  "rgb": {
    "r": 208,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 277.5,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74632,
    "c": 0.17007,
    "h": 311.7
  },
  "luminance": 0.38489
}

Semantic roles & 50–950 ramp

primary
#D08AFA
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #D08AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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