#D08BFB#D08BFB

#D08BFB is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.8% C 0.170 H 311.3°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#D08BFB
RGBrgb(208, 139, 251)
HSLhsl(277, 93%, 76%)
HSVhsv(277, 45%, 98%)
CMYKcmyk(17.1%, 44.6%, 0%, 1.6%)
CIE-LABlab(68.64, 45.84, -45.84)
CIE-LCHlch(68.64, 64.82, 315.00°)
OKLaboklab(74.84% 0.1119 -0.1274)
OKLCHoklch(74.84% 0.17 311.3)
XYZxyz(52.6545, 38.8411, 95.9714)
Luminance0.3884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08BFB #B6FB8B
analogous
#988BFB #D08BFB #FB8BEE
triadic
#D08BFB #FBD08B #8BFBD0
tetradic
#D08BFB #FB988B #B6FB8B #8BEEFB
square
#D08BFB #FB988B #B6FB8B #8BEEFB
split-complementary
#D08BFB #EEFB8B #8BFB98
monochromatic
#A015F7 #B850F9 #D08BFB #E8C6FD #F3E1FE

Accessibility & contrast

On white

2.40
#D08BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#D08BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08BFB
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08BFB#FFFFFF#000000##000000
##D08BFB1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FF
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#CB9CB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d08bfb;
/* rgb */ color: rgb(208, 139, 251);
/* oklch */ color: oklch(74.8% 0.170 311.3);
Tailwind
colors: {
  custom: {
    50: '#e0aefd',
    500: '#d08bfb',
    950: '#000000',
  },
}
SCSS
$custom: #d08bfb;
$custom-light: #e0aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#d08bfb",
  "rgb": {
    "r": 208,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 276.964,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74838,
    "c": 0.16958,
    "h": 311.3
  },
  "luminance": 0.3884
}

Semantic roles & 50–950 ramp

primary
#D08BFB
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #D08BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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