#D08CF2#D08CF2

#D08CF2 is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.6% C 0.158 H 313.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#D08CF2
RGBrgb(208, 140, 242)
HSLhsl(280, 80%, 75%)
HSVhsv(280, 42%, 95%)
CMYKcmyk(14%, 42.1%, 0%, 5.1%)
CIE-LABlab(68.44, 43.41, -41.21)
CIE-LCHlch(68.44, 59.86, 316.49°)
OKLaboklab(74.56% 0.1091 -0.1141)
OKLCHoklch(74.56% 0.158 313.7)
XYZxyz(51.4149, 38.5780, 88.7250)
Luminance0.3858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08CF2 #AEF28C
analogous
#9D8CF2 #D08CF2 #F28CE1
triadic
#D08CF2 #F2D08C #8CF2D0
tetradic
#D08CF2 #F29D8C #AEF28C #8CE1F2
square
#D08CF2 #F29D8C #AEF28C #8CE1F2
split-complementary
#D08CF2 #E1F28C #8CF29D
monochromatic
#A31EE6 #BA55EC #D08CF2 #E6C3F8 #F4E4FC

Accessibility & contrast

On white

2.41
#D08CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#D08CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08CF2
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08CF2#FFFFFF#000000##000000
##D08CF21.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A3F6
Deuteranopia (green-blind)
#8AA9EF
Tritanopia (blue-blind)
#CD9BB4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d08cf2;
/* rgb */ color: rgb(208, 140, 242);
/* oklch */ color: oklch(74.6% 0.158 313.7);
Tailwind
colors: {
  custom: {
    50: '#e0aff6',
    500: '#d08cf2',
    950: '#000000',
  },
}
SCSS
$custom: #d08cf2;
$custom-light: #e0aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#d08cf2",
  "rgb": {
    "r": 208,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 280,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74563,
    "c": 0.15782,
    "h": 313.7
  },
  "luminance": 0.38577
}

Semantic roles & 50–950 ramp

primary
#D08CF2
secondary
#E1F4D7
accent
#DC0A50
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #D08CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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