#D07FE4#D07FE4

#D07FE4 is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.9% C 0.164 H 319.5°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#D07FE4
RGBrgb(208, 127, 228)
HSLhsl(288, 65%, 70%)
HSVhsv(288, 44%, 89%)
CMYKcmyk(8.8%, 44.3%, 0%, 10.6%)
CIE-LABlab(65.11, 47.44, -38.70)
CIE-LCHlch(65.11, 61.22, 320.79°)
OKLaboklab(71.87% 0.1249 -0.1068)
OKLCHoklch(71.87% 0.164 319.5)
XYZxyz(47.6036, 34.1917, 77.4758)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07FE4 #93E47F
analogous
#9E7FE4 #D07FE4 #E47FC5
triadic
#D07FE4 #E4D07F #7FE4D0
tetradic
#D07FE4 #E49E7F #93E47F #7FC5E4
square
#D07FE4 #E49E7F #93E47F #7FC5E4
split-complementary
#D07FE4 #C5E47F #7FE49E
monochromatic
#A229C0 #BD4CD9 #D07FE4 #E3B2EF #F5E4F9

Accessibility & contrast

On white

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

On black

7.84
#D07FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07FE4
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07FE4#FFFFFF#000000##000000
##D07FE41.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E8
Deuteranopia (green-blind)
#86A1E1
Tritanopia (blue-blind)
#D18CA7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d07fe4;
/* rgb */ color: rgb(208, 127, 228);
/* oklch */ color: oklch(71.9% 0.164 319.5);
Tailwind
colors: {
  custom: {
    50: '#e0a6ed',
    500: '#d07fe4',
    950: '#000000',
  },
}
SCSS
$custom: #d07fe4;
$custom-light: #e0a6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d07fe4",
  "rgb": {
    "r": 208,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 288.119,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7187,
    "c": 0.16431,
    "h": 319.5
  },
  "luminance": 0.3419
}

Semantic roles & 50–950 ramp

primary
#D07FE4
secondary
#D7EED1
accent
#CD193C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #D07FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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