#D074EB#D074EB

#D074EB is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.6% C 0.189 H 318.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#D074EB
RGBrgb(208, 116, 235)
HSLhsl(286, 75%, 69%)
HSVhsv(286, 51%, 92%)
CMYKcmyk(11.5%, 50.6%, 0%, 7.8%)
CIE-LABlab(63.26, 54.45, -45.49)
CIE-LCHlch(63.26, 70.95, 320.12°)
OKLaboklab(70.6% 0.141 -0.1263)
OKLCHoklch(70.6% 0.189 318.1)
XYZxyz(47.2512, 31.9005, 82.2496)
Luminance0.3190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D074EB #8FEB74
analogous
#9574EB #D074EB #EB74CA
triadic
#D074EB #EBD074 #74EBD0
tetradic
#D074EB #EB9574 #8FEB74 #74CAEB
square
#D074EB #EB9574 #8FEB74 #74CAEB
split-complementary
#D074EB #CAEB74 #74EB95
monochromatic
#A11DC8 #BE3EE3 #D074EB #E2AAF3 #F4DFFA

Accessibility & contrast

On white

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

On black

7.38
#D074EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D074EB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D074EB#FFFFFF#000000##000000
##D074EB1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#D085A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d074eb;
/* rgb */ color: rgb(208, 116, 235);
/* oklch */ color: oklch(70.6% 0.189 318.1);
Tailwind
colors: {
  custom: {
    50: '#e19ff2',
    500: '#d074eb',
    950: '#000000',
  },
}
SCSS
$custom: #d074eb;
$custom-light: #e19ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#d074eb",
  "rgb": {
    "r": 208,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 286.387,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70598,
    "c": 0.18929,
    "h": 318.1
  },
  "luminance": 0.31899
}

Semantic roles & 50–950 ramp

primary
#D074EB
secondary
#D4EFCC
accent
#D70F3C
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D074EB

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

Preview Lab → · Contrast checker → · Palette generator →

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