#D08DFA#D08DFA

#D08DFA is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.1% C 0.165 H 311.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#D08DFA
RGBrgb(208, 141, 250)
HSLhsl(277, 92%, 77%)
HSVhsv(277, 44%, 98%)
CMYKcmyk(16.8%, 43.6%, 0%, 2%)
CIE-LABlab(69.01, 44.56, -44.70)
CIE-LCHlch(69.01, 63.12, 314.91°)
OKLaboklab(75.11% 0.109 -0.1241)
OKLCHoklch(75.11% 0.165 311.3)
XYZxyz(52.7896, 39.3627, 95.2408)
Luminance0.3936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08DFA #B7FA8D
analogous
#9A8DFA #D08DFA #FA8DED
triadic
#D08DFA #FAD08D #8DFAD0
tetradic
#D08DFA #FA9A8D #B7FA8D #8DEDFA
square
#D08DFA #FA9A8D #B7FA8D #8DEDFA
split-complementary
#D08DFA #EDFA8D #8DFA9A
monochromatic
#A018F5 #B852F7 #D08DFA #E8C8FD #F3E2FE

Accessibility & contrast

On white

2.37
#D08DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#D08DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08DFA
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08DFA#FFFFFF#000000##000000
##D08DFA1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FE
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#CC9EB8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d08dfa;
/* rgb */ color: rgb(208, 141, 250);
/* oklch */ color: oklch(75.1% 0.165 311.3);
Tailwind
colors: {
  custom: {
    50: '#e0affc',
    500: '#d08dfa',
    950: '#000000',
  },
}
SCSS
$custom: #d08dfa;
$custom-light: #e0affc;
$custom-dark: #000000;
JSON
{
  "hex": "#d08dfa",
  "rgb": {
    "r": 208,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 276.881,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75106,
    "c": 0.1652,
    "h": 311.3
  },
  "luminance": 0.39362
}

Semantic roles & 50–950 ramp

primary
#D08DFA
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #D08DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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