#D06DEC#D06DEC

#D06DEC is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 69.7% C 0.201 H 318.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#D06DEC
RGBrgb(208, 109, 236)
HSLhsl(287, 77%, 68%)
HSVhsv(287, 54%, 93%)
CMYKcmyk(11.9%, 53.8%, 0%, 7.5%)
CIE-LABlab(62.00, 58.10, -48.03)
CIE-LCHlch(62.00, 75.38, 320.42°)
OKLaboklab(69.69% 0.1503 -0.1336)
OKLCHoklch(69.69% 0.201 318.4)
XYZxyz(46.6193, 30.4051, 82.7537)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D06DEC #89EC6D
analogous
#916DEC #D06DEC #EC6DC8
triadic
#D06DEC #ECD06D #6DECD0
tetradic
#D06DEC #EC916D #89EC6D #6DC8EC
square
#D06DEC #EC916D #89EC6D #6DC8EC
split-complementary
#D06DEC #C8EC6D #6DEC91
monochromatic
#9F1AC5 #BF37E5 #D06DEC #E1A3F3 #F3D9FA

Accessibility & contrast

On white

2.97
#D06DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#D06DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D06DEC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D06DEC#FFFFFF#000000##000000
##D06DEC1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#7399E9
Tritanopia (blue-blind)
#D080A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d06dec;
/* rgb */ color: rgb(208, 109, 236);
/* oklch */ color: oklch(69.7% 0.201 318.4);
Tailwind
colors: {
  custom: {
    50: '#e19bf2',
    500: '#d06dec',
    950: '#000000',
  },
}
SCSS
$custom: #d06dec;
$custom-light: #e19bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d06dec",
  "rgb": {
    "r": 208,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 286.772,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69686,
    "c": 0.20111,
    "h": 318.4
  },
  "luminance": 0.30403
}

Semantic roles & 50–950 ramp

primary
#D06DEC
secondary
#CFEEC7
accent
#D90C39
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D06DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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