#D08BFD#D08BFD

#D08BFD is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.9% C 0.172 H 310.8°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#D08BFD
RGBrgb(208, 139, 253)
HSLhsl(276, 97%, 77%)
HSVhsv(276, 45%, 99%)
CMYKcmyk(17.8%, 45.1%, 0%, 0.8%)
CIE-LABlab(68.73, 46.26, -46.78)
CIE-LCHlch(68.73, 65.79, 314.68°)
OKLaboklab(74.94% 0.1122 -0.1302)
OKLCHoklch(74.94% 0.172 310.8)
XYZxyz(52.9715, 38.9679, 97.6405)
Luminance0.3897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08BFD #B8FD8B
analogous
#978BFD #D08BFD #FD8BF1
triadic
#D08BFD #FDD08B #8BFDD0
tetradic
#D08BFD #FD978B #B8FD8B #8BF1FD
square
#D08BFD #FD978B #B8FD8B #8BF1FD
split-complementary
#D08BFD #F1FD8B #8BFD97
monochromatic
#9F13FB #B84FFC #D08BFD #E8C7FE #F3E1FE

Accessibility & contrast

On white

2.39
#D08BFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#D08BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08BFD
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08BFD#FFFFFF#000000##000000
##D08BFD1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#84A9FA
Tritanopia (blue-blind)
#CB9DB8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d08bfd;
/* rgb */ color: rgb(208, 139, 253);
/* oklch */ color: oklch(74.9% 0.172 310.8);
Tailwind
colors: {
  custom: {
    50: '#e0aefe',
    500: '#d08bfd',
    950: '#000000',
  },
}
SCSS
$custom: #d08bfd;
$custom-light: #e0aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#d08bfd",
  "rgb": {
    "r": 208,
    "g": 139,
    "b": 253
  },
  "hsl": {
    "h": 276.316,
    "s": 96.61,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74937,
    "c": 0.17185,
    "h": 310.8
  },
  "luminance": 0.38967
}

Semantic roles & 50–950 ramp

primary
#D08BFD
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #D08BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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