#D074ED#D074ED

#D074ED is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.7% C 0.191 H 317.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#D074ED
RGBrgb(208, 116, 237)
HSLhsl(286, 77%, 69%)
HSVhsv(286, 51%, 93%)
CMYKcmyk(12.2%, 51.1%, 0%, 7.1%)
CIE-LABlab(63.36, 54.85, -46.45)
CIE-LCHlch(63.36, 71.87, 319.74°)
OKLaboklab(70.7% 0.1412 -0.1291)
OKLCHoklch(70.7% 0.191 317.6)
XYZxyz(47.5417, 32.0167, 83.7799)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D074ED #91ED74
analogous
#9474ED #D074ED #ED74CE
triadic
#D074ED #EDD074 #74EDD0
tetradic
#D074ED #ED9474 #91ED74 #74CEED
square
#D074ED #ED9474 #91ED74 #74CEED
split-complementary
#D074ED #CEED74 #74ED94
monochromatic
#A21ACC #BE3EE6 #D074ED #E2AAF4 #F5E0FB

Accessibility & contrast

On white

2.84
#D074ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#D074ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D074ED
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D074ED#FFFFFF#000000##000000
##D074ED1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93F1
Deuteranopia (green-blind)
#789CEA
Tritanopia (blue-blind)
#CF86A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d074ed;
/* rgb */ color: rgb(208, 116, 237);
/* oklch */ color: oklch(70.7% 0.191 317.6);
Tailwind
colors: {
  custom: {
    50: '#e19ff3',
    500: '#d074ed',
    950: '#000000',
  },
}
SCSS
$custom: #d074ed;
$custom-light: #e19ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#d074ed",
  "rgb": {
    "r": 208,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 285.62,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.707,
    "c": 0.19131,
    "h": 317.6
  },
  "luminance": 0.32015
}

Semantic roles & 50–950 ramp

primary
#D074ED
secondary
#D5F0CD
accent
#D90C3D
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D074ED

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

Preview Lab → · Contrast checker → · Palette generator →

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