#D07DEC#D07DEC

#D07DEC is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.0% C 0.176 H 317.1°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#D07DEC
RGBrgb(208, 125, 236)
HSLhsl(285, 74%, 71%)
HSVhsv(285, 47%, 93%)
CMYKcmyk(11.9%, 47%, 0%, 7.5%)
CIE-LABlab(65.07, 50.07, -43.20)
CIE-LCHlch(65.07, 66.13, 319.21°)
OKLaboklab(71.95% 0.1289 -0.1197)
OKLCHoklch(71.95% 0.176 317.1)
XYZxyz(48.4842, 34.1348, 83.3753)
Luminance0.3413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07DEC #99EC7D
analogous
#987DEC #D07DEC #EC7DD0
triadic
#D07DEC #ECD07D #7DECD0
tetradic
#D07DEC #EC987D #99EC7D #7DD0EC
square
#D07DEC #EC987D #99EC7D #7DD0EC
split-complementary
#D07DEC #D0EC7D #7DEC98
monochromatic
#A31ED0 #BD48E4 #D07DEC #E3B2F4 #F5E4FB

Accessibility & contrast

On white

2.68
#D07DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#D07DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07DEC
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07DEC#FFFFFF#000000##000000
##D07DEC1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#80A1E9
Tritanopia (blue-blind)
#CF8DAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d07dec;
/* rgb */ color: rgb(208, 125, 236);
/* oklch */ color: oklch(72.0% 0.176 317.1);
Tailwind
colors: {
  custom: {
    50: '#e0a5f2',
    500: '#d07dec',
    950: '#000000',
  },
}
SCSS
$custom: #d07dec;
$custom-light: #e0a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d07dec",
  "rgb": {
    "r": 208,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 284.865,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71954,
    "c": 0.17594,
    "h": 317.1
  },
  "luminance": 0.34133
}

Semantic roles & 50–950 ramp

primary
#D07DEC
secondary
#DBF1D3
accent
#D70F41
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F17
muted
#847F85

Preview Lab

Preview with #D07DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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