#D08EFB#D08EFB

#D08EFB is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.3% C 0.165 H 310.9°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#D08EFB
RGBrgb(208, 142, 251)
HSLhsl(276, 93%, 77%)
HSVhsv(276, 43%, 98%)
CMYKcmyk(17.1%, 43.4%, 0%, 1.6%)
CIE-LABlab(69.27, 44.24, -44.84)
CIE-LCHlch(69.27, 62.99, 314.62°)
OKLaboklab(75.31% 0.1078 -0.1246)
OKLCHoklch(75.31% 0.165 310.9)
XYZxyz(53.0949, 39.7218, 96.1181)
Luminance0.3972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08EFB #B9FB8E
analogous
#9A8EFB #D08EFB #FB8EF0
triadic
#D08EFB #FBD08E #8EFBD0
tetradic
#D08EFB #FB9A8E #B9FB8E #8EF0FB
square
#D08EFB #FB9A8E #B9FB8E #8EF0FB
split-complementary
#D08EFB #F0FB8E #8EFB9A
monochromatic
#9F18F7 #B753F9 #D08EFB #E9C9FD #F3E1FE

Accessibility & contrast

On white

2.35
#D08EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#D08EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08EFB
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08EFB#FFFFFF#000000##000000
##D08EFB1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FF
Deuteranopia (green-blind)
#88AAF8
Tritanopia (blue-blind)
#CB9FB9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d08efb;
/* rgb */ color: rgb(208, 142, 251);
/* oklch */ color: oklch(75.3% 0.165 310.9);
Tailwind
colors: {
  custom: {
    50: '#e0b0fd',
    500: '#d08efb',
    950: '#000000',
  },
}
SCSS
$custom: #d08efb;
$custom-light: #e0b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d08efb",
  "rgb": {
    "r": 208,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 276.33,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75314,
    "c": 0.16472,
    "h": 310.9
  },
  "luminance": 0.39721
}

Semantic roles & 50–950 ramp

primary
#D08EFB
secondary
#E2F6D5
accent
#E6005B
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #D08EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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