#D08EFE#D08EFE

#D08EFE is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.5% C 0.168 H 310.1°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#D08EFE
RGBrgb(208, 142, 254)
HSLhsl(275, 98%, 78%)
HSVhsv(275, 44%, 100%)
CMYKcmyk(18.1%, 44.1%, 0%, 0.4%)
CIE-LABlab(69.41, 44.88, -46.26)
CIE-LCHlch(69.41, 64.45, 314.13°)
OKLaboklab(75.46% 0.1083 -0.1287)
OKLCHoklch(75.46% 0.168 310.1)
XYZxyz(53.5715, 39.9125, 98.6285)
Luminance0.3991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08EFE #BCFE8E
analogous
#988EFE #D08EFE #FE8EF4
triadic
#D08EFE #FED08E #8EFED0
tetradic
#D08EFE #FE988E #BCFE8E #8EF4FE
square
#D08EFE #FE988E #BCFE8E #8EF4FE
split-complementary
#D08EFE #F4FE8E #8EFE98
monochromatic
#9E15FD #B751FD #D08EFE #E9CBFF #F2E1FF

Accessibility & contrast

On white

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

On black

8.98
#D08EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08EFE
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08EFE#FFFFFF#000000##000000
##D08EFE1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#86ABFB
Tritanopia (blue-blind)
#CB9FBA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d08efe;
/* rgb */ color: rgb(208, 142, 254);
/* oklch */ color: oklch(75.5% 0.168 310.1);
Tailwind
colors: {
  custom: {
    50: '#e0b0ff',
    500: '#d08efe',
    950: '#000000',
  },
}
SCSS
$custom: #d08efe;
$custom-light: #e0b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d08efe",
  "rgb": {
    "r": 208,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 275.357,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7546,
    "c": 0.16816,
    "h": 310.1
  },
  "luminance": 0.39912
}

Semantic roles & 50–950 ramp

primary
#D08EFE
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #D08EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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