#D074E4#D074E4

#D074E4 is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.2% C 0.182 H 320.3°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D074E4
RGBrgb(208, 116, 228)
HSLhsl(289, 67%, 67%)
HSVhsv(289, 49%, 89%)
CMYKcmyk(8.8%, 49.1%, 0%, 10.6%)
CIE-LABlab(62.93, 53.08, -42.12)
CIE-LCHlch(62.93, 67.76, 321.57°)
OKLaboklab(70.25% 0.1401 -0.1165)
OKLCHoklch(70.25% 0.182 320.3)
XYZxyz(46.2597, 31.5039, 77.0279)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D074E4 #88E474
analogous
#9874E4 #D074E4 #E474C0
triadic
#D074E4 #E4D074 #74E4D0
tetradic
#D074E4 #E49874 #88E474 #74C0E4
square
#D074E4 #E49874 #88E474 #74C0E4
split-complementary
#D074E4 #C0E474 #74E498
monochromatic
#9F24BA #BF41DA #D074E4 #E1A7EE #F3DAF8

Accessibility & contrast

On white

2.88
#D074E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D074E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D074E4
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D074E4#FFFFFF#000000##000000
##D074E41.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6292E8
Deuteranopia (green-blind)
#7D9CE1
Tritanopia (blue-blind)
#D183A2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d074e4;
/* rgb */ color: rgb(208, 116, 228);
/* oklch */ color: oklch(70.2% 0.182 320.3);
Tailwind
colors: {
  custom: {
    50: '#e09fed',
    500: '#d074e4',
    950: '#000000',
  },
}
SCSS
$custom: #d074e4;
$custom-light: #e09fed;
$custom-dark: #000000;
JSON
{
  "hex": "#d074e4",
  "rgb": {
    "r": 208,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 289.286,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70246,
    "c": 0.18227,
    "h": 320.3
  },
  "luminance": 0.31502
}

Semantic roles & 50–950 ramp

primary
#D074E4
secondary
#CFEBC8
accent
#CF1637
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D074E4

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

Preview Lab → · Contrast checker → · Palette generator →

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