#D08CFD#D08CFD

#D08CFD is a light, vivid violet. Relative luminance 0.393; OKLCH L 75.1% C 0.170 H 310.6°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#D08CFD
RGBrgb(208, 140, 253)
HSLhsl(276, 97%, 77%)
HSVhsv(276, 45%, 99%)
CMYKcmyk(17.8%, 44.7%, 0%, 0.8%)
CIE-LABlab(68.94, 45.73, -46.45)
CIE-LCHlch(68.94, 65.19, 314.55°)
OKLaboklab(75.1% 0.1108 -0.1292)
OKLCHoklch(75.1% 0.17 310.6)
XYZxyz(53.1169, 39.2588, 97.6890)
Luminance0.3926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08CFD #B9FD8C
analogous
#988CFD #D08CFD #FD8CF2
triadic
#D08CFD #FDD08C #8CFDD0
tetradic
#D08CFD #FD988C #B9FD8C #8CF2FD
square
#D08CFD #FD988C #B9FD8C #8CF2FD
split-complementary
#D08CFD #F2FD8C #8CFD98
monochromatic
#9F14FB #B750FC #D08CFD #E9C8FE #F3E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D08CFD#FFFFFF#000000##000000
##D08CFD1.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)
#73A5FF
Deuteranopia (green-blind)
#85AAFA
Tritanopia (blue-blind)
#CB9EB9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d08cfd;
/* rgb */ color: rgb(208, 140, 253);
/* oklch */ color: oklch(75.1% 0.170 310.6);
Tailwind
colors: {
  custom: {
    50: '#e0affe',
    500: '#d08cfd',
    950: '#000000',
  },
}
SCSS
$custom: #d08cfd;
$custom-light: #e0affe;
$custom-dark: #000000;
JSON
{
  "hex": "#d08cfd",
  "rgb": {
    "r": 208,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 276.106,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75095,
    "c": 0.17023,
    "h": 310.6
  },
  "luminance": 0.39258
}

Semantic roles & 50–950 ramp

primary
#D08CFD
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #D08CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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