#D08DF2#D08DF2

#D08DF2 is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.7% C 0.156 H 313.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#D08DF2
RGBrgb(208, 141, 242)
HSLhsl(280, 80%, 75%)
HSVhsv(280, 42%, 95%)
CMYKcmyk(14%, 41.7%, 0%, 5.1%)
CIE-LABlab(68.66, 42.88, -40.88)
CIE-LCHlch(68.66, 59.24, 316.37°)
OKLaboklab(74.72% 0.1076 -0.1131)
OKLCHoklch(74.72% 0.156 313.6)
XYZxyz(51.5617, 38.8716, 88.7739)
Luminance0.3887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08DF2 #AFF28D
analogous
#9D8DF2 #D08DF2 #F28DE2
triadic
#D08DF2 #F2D08D #8DF2D0
tetradic
#D08DF2 #F29D8D #AFF28D #8DE2F2
square
#D08DF2 #F29D8D #AFF28D #8DE2F2
split-complementary
#D08DF2 #E2F28D #8DF29D
monochromatic
#A31FE5 #B956EC #D08DF2 #E7C4F8 #F4E4FC

Accessibility & contrast

On white

2.39
#D08DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#D08DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08DF2
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08DF2#FFFFFF#000000##000000
##D08DF21.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F6
Deuteranopia (green-blind)
#8BA9EF
Tritanopia (blue-blind)
#CD9BB4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d08df2;
/* rgb */ color: rgb(208, 141, 242);
/* oklch */ color: oklch(74.7% 0.156 313.6);
Tailwind
colors: {
  custom: {
    50: '#e0aff6',
    500: '#d08df2',
    950: '#000000',
  },
}
SCSS
$custom: #d08df2;
$custom-light: #e0aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#d08df2",
  "rgb": {
    "r": 208,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 279.802,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74723,
    "c": 0.15616,
    "h": 313.6
  },
  "luminance": 0.3887
}

Semantic roles & 50–950 ramp

primary
#D08DF2
secondary
#E1F4D7
accent
#DC0A50
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85

Preview Lab

Preview with #D08DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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