#D08CFA#D08CFA

#D08CFA is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.9% C 0.167 H 311.4°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#D08CFA
RGBrgb(208, 140, 250)
HSLhsl(277, 92%, 76%)
HSVhsv(277, 44%, 98%)
CMYKcmyk(16.8%, 44%, 0%, 2%)
CIE-LABlab(68.80, 45.09, -45.03)
CIE-LCHlch(68.80, 63.73, 315.04°)
OKLaboklab(74.95% 0.1104 -0.1251)
OKLCHoklch(74.95% 0.167 311.4)
XYZxyz(52.6428, 39.0691, 95.1919)
Luminance0.3907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08CFA #B6FA8C
analogous
#998CFA #D08CFA #FA8CED
triadic
#D08CFA #FAD08C #8CFAD0
tetradic
#D08CFA #FA998C #B6FA8C #8CEDFA
square
#D08CFA #FA998C #B6FA8C #8CEDFA
split-complementary
#D08CFA #EDFA8C #8CFA99
monochromatic
#A017F5 #B851F7 #D08CFA #E8C7FD #F3E2FE

Accessibility & contrast

On white

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

On black

8.81
#D08CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08CFA
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08CFA#FFFFFF#000000##000000
##D08CFA1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FE
Deuteranopia (green-blind)
#86A9F7
Tritanopia (blue-blind)
#CC9DB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d08cfa;
/* rgb */ color: rgb(208, 140, 250);
/* oklch */ color: oklch(74.9% 0.167 311.4);
Tailwind
colors: {
  custom: {
    50: '#e0affc',
    500: '#d08cfa',
    950: '#000000',
  },
}
SCSS
$custom: #d08cfa;
$custom-light: #e0affc;
$custom-dark: #000000;
JSON
{
  "hex": "#d08cfa",
  "rgb": {
    "r": 208,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 277.091,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74947,
    "c": 0.16683,
    "h": 311.4
  },
  "luminance": 0.39068
}

Semantic roles & 50–950 ramp

primary
#D08CFA
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #D08CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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