#D08EF2#D08EF2

#D08EF2 is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.9% C 0.154 H 313.4°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#D08EF2
RGBrgb(208, 142, 242)
HSLhsl(280, 79%, 75%)
HSVhsv(280, 41%, 95%)
CMYKcmyk(14%, 41.3%, 0%, 5.1%)
CIE-LABlab(68.87, 42.35, -40.54)
CIE-LCHlch(68.87, 58.63, 316.25°)
OKLaboklab(74.88% 0.1062 -0.1122)
OKLCHoklch(74.88% 0.155 313.4)
XYZxyz(51.7098, 39.1678, 88.8233)
Luminance0.3917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08EF2 #B0F28E
analogous
#9E8EF2 #D08EF2 #F28EE2
triadic
#D08EF2 #F2D08E #8EF2D0
tetradic
#D08EF2 #F29E8E #B0F28E #8EE2F2
square
#D08EF2 #F29E8E #B0F28E #8EE2F2
split-complementary
#D08EF2 #E2F28E #8EF29E
monochromatic
#A220E5 #B957EC #D08EF2 #E7C5F8 #F4E4FC

Accessibility & contrast

On white

2.38
#D08EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#D08EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08EF2
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08EF2#FFFFFF#000000##000000
##D08EF21.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#CD9CB5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d08ef2;
/* rgb */ color: rgb(208, 142, 242);
/* oklch */ color: oklch(74.9% 0.154 313.4);
Tailwind
colors: {
  custom: {
    50: '#e0b0f6',
    500: '#d08ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d08ef2;
$custom-light: #e0b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d08ef2",
  "rgb": {
    "r": 208,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 279.6,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74884,
    "c": 0.1545,
    "h": 313.4
  },
  "luminance": 0.39167
}

Semantic roles & 50–950 ramp

primary
#D08EF2
secondary
#E1F4D7
accent
#DC0A51
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151117
muted
#838085

Preview Lab

Preview with #D08EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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