#D08BF8#D08BF8

#D08BF8 is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.7% C 0.166 H 312.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#D08BF8
RGBrgb(208, 139, 248)
HSLhsl(278, 89%, 76%)
HSVhsv(278, 44%, 97%)
CMYKcmyk(16.1%, 44%, 0%, 2.7%)
CIE-LABlab(68.50, 45.20, -44.41)
CIE-LCHlch(68.50, 63.37, 315.51°)
OKLaboklab(74.69% 0.1114 -0.1233)
OKLCHoklch(74.69% 0.166 312.1)
XYZxyz(52.1854, 38.6535, 93.5005)
Luminance0.3865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08BF8 #B3F88B
analogous
#998BF8 #D08BF8 #F88BE9
triadic
#D08BF8 #F8D08B #8BF8D0
tetradic
#D08BF8 #F8998B #B3F88B #8BE9F8
square
#D08BF8 #F8998B #B3F88B #8BE9F8
split-complementary
#D08BF8 #E9F88B #8BF899
monochromatic
#A118F1 #B951F5 #D08BF8 #E7C5FB #F3E2FD

Accessibility & contrast

On white

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

On black

8.73
#D08BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08BF8
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08BF8#FFFFFF#000000##000000
##D08BF81.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FC
Deuteranopia (green-blind)
#86A9F5
Tritanopia (blue-blind)
#CC9BB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d08bf8;
/* rgb */ color: rgb(208, 139, 248);
/* oklch */ color: oklch(74.7% 0.166 312.1);
Tailwind
colors: {
  custom: {
    50: '#e0aefb',
    500: '#d08bf8',
    950: '#000000',
  },
}
SCSS
$custom: #d08bf8;
$custom-light: #e0aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#d08bf8",
  "rgb": {
    "r": 208,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 277.982,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74692,
    "c": 0.16621,
    "h": 312.1
  },
  "luminance": 0.38652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D08BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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