#D07EEC#D07EEC

#D07EEC is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.1% C 0.174 H 317.0°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#D07EEC
RGBrgb(208, 126, 236)
HSLhsl(285, 74%, 71%)
HSVhsv(285, 47%, 93%)
CMYKcmyk(11.9%, 46.6%, 0%, 7.5%)
CIE-LABlab(65.27, 49.55, -42.88)
CIE-LCHlch(65.27, 65.53, 319.13°)
OKLaboklab(72.1% 0.1276 -0.1188)
OKLCHoklch(72.1% 0.174 317)
XYZxyz(48.6114, 34.3892, 83.4177)
Luminance0.3439 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07EEC #9AEC7E
analogous
#997EEC #D07EEC #EC7ED1
triadic
#D07EEC #ECD07E #7EECD0
tetradic
#D07EEC #EC997E #9AEC7E #7ED1EC
square
#D07EEC #EC997E #9AEC7E #7ED1EC
split-complementary
#D07EEC #D1EC7E #7EEC99
monochromatic
#A41FD1 #BD49E4 #D07EEC #E3B3F4 #F5E4FB

Accessibility & contrast

On white

2.67
#D07EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#D07EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07EEC
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07EEC#FFFFFF#000000##000000
##D07EEC1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#CF8EAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d07eec;
/* rgb */ color: rgb(208, 126, 236);
/* oklch */ color: oklch(72.1% 0.174 317.0);
Tailwind
colors: {
  custom: {
    50: '#e0a5f2',
    500: '#d07eec',
    950: '#000000',
  },
}
SCSS
$custom: #d07eec;
$custom-light: #e0a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d07eec",
  "rgb": {
    "r": 208,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 284.727,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72103,
    "c": 0.17432,
    "h": 317
  },
  "luminance": 0.34388
}

Semantic roles & 50–950 ramp

primary
#D07EEC
secondary
#DCF2D4
accent
#D60F42
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #D07EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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