#D08BF7#D08BF7

#D08BF7 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.6% C 0.165 H 312.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#D08BF7
RGBrgb(208, 139, 247)
HSLhsl(278, 87%, 76%)
HSVhsv(278, 44%, 97%)
CMYKcmyk(15.8%, 43.7%, 0%, 3.1%)
CIE-LABlab(68.45, 44.99, -43.93)
CIE-LCHlch(68.45, 62.88, 315.68°)
OKLaboklab(74.64% 0.1113 -0.1219)
OKLCHoklch(74.64% 0.165 312.4)
XYZxyz(52.0307, 38.5916, 92.6856)
Luminance0.3859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08BF7 #B2F78B
analogous
#9A8BF7 #D08BF7 #F78BE8
triadic
#D08BF7 #F7D08B #8BF7D0
tetradic
#D08BF7 #F79A8B #B2F78B #8BE8F7
square
#D08BF7 #F79A8B #B2F78B #8BE8F7
split-complementary
#D08BF7 #E8F78B #8BF79A
monochromatic
#A218EF #B952F3 #D08BF7 #E7C4FB #F3E2FD

Accessibility & contrast

On white

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

On black

8.72
#D08BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08BF7
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08BF7#FFFFFF#000000##000000
##D08BF71.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3FB
Deuteranopia (green-blind)
#87A9F4
Tritanopia (blue-blind)
#CC9BB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d08bf7;
/* rgb */ color: rgb(208, 139, 247);
/* oklch */ color: oklch(74.6% 0.165 312.4);
Tailwind
colors: {
  custom: {
    50: '#e0aefa',
    500: '#d08bf7',
    950: '#000000',
  },
}
SCSS
$custom: #d08bf7;
$custom-light: #e0aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#d08bf7",
  "rgb": {
    "r": 208,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 278.333,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74643,
    "c": 0.16508,
    "h": 312.4
  },
  "luminance": 0.38591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D08BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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