#D08DF8#D08DF8

#D08DF8 is a light, vivid violet. Relative luminance 0.392; OKLCH L 75.0% C 0.163 H 311.8°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#D08DF8
RGBrgb(208, 141, 248)
HSLhsl(278, 88%, 76%)
HSVhsv(278, 43%, 97%)
CMYKcmyk(16.1%, 43.1%, 0%, 2.7%)
CIE-LABlab(68.92, 44.14, -43.75)
CIE-LCHlch(68.92, 62.14, 315.26°)
OKLaboklab(75.01% 0.1087 -0.1214)
OKLCHoklch(75.01% 0.163 311.8)
XYZxyz(52.4776, 39.2379, 93.5979)
Luminance0.3924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08DF8 #B5F88D
analogous
#9B8DF8 #D08DF8 #F88DEB
triadic
#D08DF8 #F8D08D #8DF8D0
tetradic
#D08DF8 #F89B8D #B5F88D #8DEBF8
square
#D08DF8 #F89B8D #B5F88D #8DEBF8
split-complementary
#D08DF8 #EBF88D #8DF89B
monochromatic
#A01AF1 #B853F4 #D08DF8 #E8C7FC #F3E2FD

Accessibility & contrast

On white

2.37
#D08DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#D08DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08DF8
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08DF8#FFFFFF#000000##000000
##D08DF81.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FC
Deuteranopia (green-blind)
#88AAF5
Tritanopia (blue-blind)
#CC9DB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d08df8;
/* rgb */ color: rgb(208, 141, 248);
/* oklch */ color: oklch(75.0% 0.163 311.8);
Tailwind
colors: {
  custom: {
    50: '#e0affb',
    500: '#d08df8',
    950: '#000000',
  },
}
SCSS
$custom: #d08df8;
$custom-light: #e0affb;
$custom-dark: #000000;
JSON
{
  "hex": "#d08df8",
  "rgb": {
    "r": 208,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 277.57,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75009,
    "c": 0.16293,
    "h": 311.8
  },
  "luminance": 0.39237
}

Semantic roles & 50–950 ramp

primary
#D08DF8
secondary
#E2F5D6
accent
#E50056
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #D08DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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