#D08EFA#D08EFA

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

Color values

HEX#D08EFA
RGBrgb(208, 142, 250)
HSLhsl(277, 92%, 77%)
HSVhsv(277, 43%, 98%)
CMYKcmyk(16.8%, 43.2%, 0%, 2%)
CIE-LABlab(69.23, 44.03, -44.36)
CIE-LCHlch(69.23, 62.50, 314.78°)
OKLaboklab(75.27% 0.1076 -0.1232)
OKLCHoklch(75.27% 0.164 311.1)
XYZxyz(52.9377, 39.6589, 95.2902)
Luminance0.3966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08EFA #B8FA8E
analogous
#9A8EFA #D08EFA #FA8EEE
triadic
#D08EFA #FAD08E #8EFAD0
tetradic
#D08EFA #FA9A8E #B8FA8E #8EEEFA
square
#D08EFA #FA9A8E #B8FA8E #8EEEFA
split-complementary
#D08EFA #EEFA8E #8EFA9A
monochromatic
#9F19F5 #B853F7 #D08EFA #E8C9FD #F3E2FE

Accessibility & contrast

On white

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

On black

8.93
#D08EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08EFA
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08EFA#FFFFFF#000000##000000
##D08EFA1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FE
Deuteranopia (green-blind)
#88AAF7
Tritanopia (blue-blind)
#CB9EB8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d08efa;
/* rgb */ color: rgb(208, 142, 250);
/* oklch */ color: oklch(75.3% 0.164 311.1);
Tailwind
colors: {
  custom: {
    50: '#e0b0fc',
    500: '#d08efa',
    950: '#000000',
  },
}
SCSS
$custom: #d08efa;
$custom-light: #e0b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d08efa",
  "rgb": {
    "r": 208,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 276.667,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75265,
    "c": 0.16357,
    "h": 311.1
  },
  "luminance": 0.39658
}

Semantic roles & 50–950 ramp

primary
#D08EFA
secondary
#E2F6D5
accent
#E60059
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #D08EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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