#D08DF7#D08DF7

#D08DF7 is a light, vivid violet. Relative luminance 0.392; OKLCH L 75.0% C 0.162 H 312.1°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#D08DF7
RGBrgb(208, 141, 247)
HSLhsl(278, 87%, 76%)
HSVhsv(278, 43%, 97%)
CMYKcmyk(15.8%, 42.9%, 0%, 3.1%)
CIE-LABlab(68.88, 43.93, -43.27)
CIE-LCHlch(68.88, 61.66, 315.43°)
OKLaboklab(74.96% 0.1085 -0.12)
OKLCHoklch(74.96% 0.162 312.1)
XYZxyz(52.3229, 39.1760, 92.7831)
Luminance0.3917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08DF7 #B4F78D
analogous
#9B8DF7 #D08DF7 #F78DE9
triadic
#D08DF7 #F7D08D #8DF7D0
tetradic
#D08DF7 #F79B8D #B4F78D #8DE9F7
square
#D08DF7 #F79B8D #B4F78D #8DE9F7
split-complementary
#D08DF7 #E9F78D #8DF79B
monochromatic
#A11BEF #B854F3 #D08DF7 #E8C6FB #F3E2FD

Accessibility & contrast

On white

2.38
#D08DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#D08DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08DF7
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08DF7#FFFFFF#000000##000000
##D08DF71.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FB
Deuteranopia (green-blind)
#89AAF4
Tritanopia (blue-blind)
#CC9DB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d08df7;
/* rgb */ color: rgb(208, 141, 247);
/* oklch */ color: oklch(75.0% 0.162 312.1);
Tailwind
colors: {
  custom: {
    50: '#e0affa',
    500: '#d08df7',
    950: '#000000',
  },
}
SCSS
$custom: #d08df7;
$custom-light: #e0affa;
$custom-dark: #000000;
JSON
{
  "hex": "#d08df7",
  "rgb": {
    "r": 208,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 277.925,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74961,
    "c": 0.1618,
    "h": 312.1
  },
  "luminance": 0.39175
}

Semantic roles & 50–950 ramp

primary
#D08DF7
secondary
#E1F5D6
accent
#E30255
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #D08DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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