#D08EFD#D08EFD

#D08EFD is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.4% C 0.167 H 310.3°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#D08EFD
RGBrgb(208, 142, 253)
HSLhsl(276, 97%, 77%)
HSVhsv(276, 44%, 99%)
CMYKcmyk(17.8%, 43.9%, 0%, 0.8%)
CIE-LABlab(69.36, 44.67, -45.79)
CIE-LCHlch(69.36, 63.97, 314.29°)
OKLaboklab(75.41% 0.1081 -0.1273)
OKLCHoklch(75.41% 0.167 310.3)
XYZxyz(53.4118, 39.8486, 97.7873)
Luminance0.3985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08EFD #BBFD8E
analogous
#998EFD #D08EFD #FD8EF2
triadic
#D08EFD #FDD08E #8EFDD0
tetradic
#D08EFD #FD998E #BBFD8E #8EF2FD
square
#D08EFD #FD998E #BBFD8E #8EF2FD
split-complementary
#D08EFD #F2FD8E #8EFD99
monochromatic
#9E16FB #B752FC #D08EFD #E9CAFE #F2E1FE

Accessibility & contrast

On white

2.34
#D08EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#D08EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08EFD
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08EFD#FFFFFF#000000##000000
##D08EFD1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#87ABFA
Tritanopia (blue-blind)
#CB9FBA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d08efd;
/* rgb */ color: rgb(208, 142, 253);
/* oklch */ color: oklch(75.4% 0.167 310.3);
Tailwind
colors: {
  custom: {
    50: '#e0b0fe',
    500: '#d08efd',
    950: '#000000',
  },
}
SCSS
$custom: #d08efd;
$custom-light: #e0b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d08efd",
  "rgb": {
    "r": 208,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 275.676,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75411,
    "c": 0.16701,
    "h": 310.3
  },
  "luminance": 0.39848
}

Semantic roles & 50–950 ramp

primary
#D08EFD
secondary
#E2F7D4
accent
#E6005D
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #D08EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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