#D074E8#D074E8

#D074E8 is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.4% C 0.186 H 319.0°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#D074E8
RGBrgb(208, 116, 232)
HSLhsl(288, 72%, 68%)
HSVhsv(288, 50%, 91%)
CMYKcmyk(10.3%, 50%, 0%, 9%)
CIE-LABlab(63.12, 53.86, -44.05)
CIE-LCHlch(63.12, 69.58, 320.72°)
OKLaboklab(70.45% 0.1406 -0.1221)
OKLCHoklch(70.45% 0.186 319)
XYZxyz(46.8214, 31.7286, 79.9862)
Luminance0.3173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D074E8 #8CE874
analogous
#9674E8 #D074E8 #E874C6
triadic
#D074E8 #E8D074 #74E8D0
tetradic
#D074E8 #E89674 #8CE874 #74C6E8
square
#D074E8 #E89674 #8CE874 #74C6E8
split-complementary
#D074E8 #C6E874 #74E896
monochromatic
#A020C2 #BE3FDF #D074E8 #E2A9F1 #F4DDF9

Accessibility & contrast

On white

2.86
#D074E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#D074E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D074E8
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D074E8#FFFFFF#000000##000000
##D074E81.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EC
Deuteranopia (green-blind)
#7B9CE5
Tritanopia (blue-blind)
#D184A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d074e8;
/* rgb */ color: rgb(208, 116, 232);
/* oklch */ color: oklch(70.4% 0.186 319.0);
Tailwind
colors: {
  custom: {
    50: '#e19ff0',
    500: '#d074e8',
    950: '#000000',
  },
}
SCSS
$custom: #d074e8;
$custom-light: #e19ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#d074e8",
  "rgb": {
    "r": 208,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 287.586,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70446,
    "c": 0.18627,
    "h": 319
  },
  "luminance": 0.31727
}

Semantic roles & 50–950 ramp

primary
#D074E8
secondary
#D2EDCA
accent
#D4123A
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D074E8

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

Preview Lab → · Contrast checker → · Palette generator →

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