#D074EA#D074EA

#D074EA is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.5% C 0.188 H 318.4°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D074EA
RGBrgb(208, 116, 234)
HSLhsl(287, 74%, 69%)
HSVhsv(287, 50%, 92%)
CMYKcmyk(11.1%, 50.4%, 0%, 8.2%)
CIE-LABlab(63.21, 54.25, -45.01)
CIE-LCHlch(63.21, 70.49, 320.32°)
OKLaboklab(70.55% 0.1409 -0.1249)
OKLCHoklch(70.55% 0.188 318.4)
XYZxyz(47.1071, 31.8429, 81.4908)
Luminance0.3184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D074EA #8EEA74
analogous
#9574EA #D074EA #EA74C9
triadic
#D074EA #EAD074 #74EAD0
tetradic
#D074EA #EA9574 #8EEA74 #74C9EA
square
#D074EA #EA9574 #8EEA74 #74C9EA
split-complementary
#D074EA #C9EA74 #74EA95
monochromatic
#A11EC6 #BE3FE2 #D074EA #E2A9F2 #F4DEFA

Accessibility & contrast

On white

2.85
#D074EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D074EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D074EA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D074EA#FFFFFF#000000##000000
##D074EA1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EE
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#D085A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d074ea;
/* rgb */ color: rgb(208, 116, 234);
/* oklch */ color: oklch(70.5% 0.188 318.4);
Tailwind
colors: {
  custom: {
    50: '#e19ff1',
    500: '#d074ea',
    950: '#000000',
  },
}
SCSS
$custom: #d074ea;
$custom-light: #e19ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#d074ea",
  "rgb": {
    "r": 208,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 286.78,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70547,
    "c": 0.18828,
    "h": 318.4
  },
  "luminance": 0.31841
}

Semantic roles & 50–950 ramp

primary
#D074EA
secondary
#D3EFCB
accent
#D6103B
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D074EA

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

Preview Lab → · Contrast checker → · Palette generator →

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