#D08CF8#D08CF8

#D08CF8 is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.9% C 0.165 H 312.0°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#D08CF8
RGBrgb(208, 140, 248)
HSLhsl(278, 89%, 76%)
HSVhsv(278, 44%, 97%)
CMYKcmyk(16.1%, 43.5%, 0%, 2.7%)
CIE-LABlab(68.71, 44.67, -44.08)
CIE-LCHlch(68.71, 62.76, 315.38°)
OKLaboklab(74.85% 0.1101 -0.1223)
OKLCHoklch(74.85% 0.165 312)
XYZxyz(52.3308, 38.9444, 93.5490)
Luminance0.3894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08CF8 #B4F88C
analogous
#9A8CF8 #D08CF8 #F88CEA
triadic
#D08CF8 #F8D08C #8CF8D0
tetradic
#D08CF8 #F89A8C #B4F88C #8CEAF8
square
#D08CF8 #F89A8C #B4F88C #8CEAF8
split-complementary
#D08CF8 #EAF88C #8CF89A
monochromatic
#A119F1 #B852F4 #D08CF8 #E8C6FC #F3E2FD

Accessibility & contrast

On white

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

On black

8.79
#D08CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08CF8
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08CF8#FFFFFF#000000##000000
##D08CF81.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FC
Deuteranopia (green-blind)
#87A9F5
Tritanopia (blue-blind)
#CC9CB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d08cf8;
/* rgb */ color: rgb(208, 140, 248);
/* oklch */ color: oklch(74.9% 0.165 312.0);
Tailwind
colors: {
  custom: {
    50: '#e0affb',
    500: '#d08cf8',
    950: '#000000',
  },
}
SCSS
$custom: #d08cf8;
$custom-light: #e0affb;
$custom-dark: #000000;
JSON
{
  "hex": "#d08cf8",
  "rgb": {
    "r": 208,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 277.778,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7485,
    "c": 0.16457,
    "h": 312
  },
  "luminance": 0.38943
}

Semantic roles & 50–950 ramp

primary
#D08CF8
secondary
#E1F5D6
accent
#E50055
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #D08CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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