#D08CFB#D08CFB

#D08CFB is a light, vivid violet. Relative luminance 0.391; OKLCH L 75.0% C 0.168 H 311.2°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#D08CFB
RGBrgb(208, 140, 251)
HSLhsl(277, 93%, 77%)
HSVhsv(277, 44%, 98%)
CMYKcmyk(17.1%, 44.2%, 0%, 1.6%)
CIE-LABlab(68.85, 45.31, -45.50)
CIE-LCHlch(68.85, 64.21, 314.88°)
OKLaboklab(75% 0.1105 -0.1265)
OKLCHoklch(75% 0.168 311.2)
XYZxyz(52.8000, 39.1320, 96.0198)
Luminance0.3913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08CFB #B7FB8C
analogous
#998CFB #D08CFB #FB8CEE
triadic
#D08CFB #FBD08C #8CFBD0
tetradic
#D08CFB #FB998C #B7FB8C #8CEEFB
square
#D08CFB #FB998C #B7FB8C #8CEEFB
split-complementary
#D08CFB #EEFB8C #8CFB99
monochromatic
#A016F7 #B851F9 #D08CFB #E8C7FD #F3E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D08CFB#FFFFFF#000000##000000
##D08CFB1.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)
#74A5FF
Deuteranopia (green-blind)
#86A9F8
Tritanopia (blue-blind)
#CB9DB8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d08cfb;
/* rgb */ color: rgb(208, 140, 251);
/* oklch */ color: oklch(75.0% 0.168 311.2);
Tailwind
colors: {
  custom: {
    50: '#e0affd',
    500: '#d08cfb',
    950: '#000000',
  },
}
SCSS
$custom: #d08cfb;
$custom-light: #e0affd;
$custom-dark: #000000;
JSON
{
  "hex": "#d08cfb",
  "rgb": {
    "r": 208,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 276.757,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74996,
    "c": 0.16796,
    "h": 311.2
  },
  "luminance": 0.39131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D08CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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