#D074E2#D074E2

#D074E2 is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.1% C 0.180 H 320.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#D074E2
RGBrgb(208, 116, 226)
HSLhsl(290, 65%, 67%)
HSVhsv(290, 49%, 89%)
CMYKcmyk(8%, 48.7%, 0%, 11.4%)
CIE-LABlab(62.84, 52.70, -41.15)
CIE-LCHlch(62.84, 66.86, 322.01°)
OKLaboklab(70.15% 0.1399 -0.1138)
OKLCHoklch(70.15% 0.18 320.9)
XYZxyz(45.9837, 31.3935, 75.5741)
Luminance0.3139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D074E2 #86E274
analogous
#9974E2 #D074E2 #E274BD
triadic
#D074E2 #E2D074 #74E2D0
tetradic
#D074E2 #E29974 #86E274 #74BDE2
square
#D074E2 #E29974 #86E274 #74BDE2
split-complementary
#D074E2 #BDE274 #74E299
monochromatic
#9E26B6 #BF41D7 #D074E2 #E1A7ED #F2D9F7

Accessibility & contrast

On white

2.89
#D074E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#D074E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D074E2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D074E2#FFFFFF#000000##000000
##D074E21.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6391E6
Deuteranopia (green-blind)
#7E9CDF
Tritanopia (blue-blind)
#D283A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d074e2;
/* rgb */ color: rgb(208, 116, 226);
/* oklch */ color: oklch(70.1% 0.180 320.9);
Tailwind
colors: {
  custom: {
    50: '#e09feb',
    500: '#d074e2',
    950: '#000000',
  },
}
SCSS
$custom: #d074e2;
$custom-light: #e09feb;
$custom-dark: #000000;
JSON
{
  "hex": "#d074e2",
  "rgb": {
    "r": 208,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 290.182,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70148,
    "c": 0.18029,
    "h": 320.9
  },
  "luminance": 0.31392
}

Semantic roles & 50–950 ramp

primary
#D074E2
secondary
#CDEAC7
accent
#CD1836
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D074E2

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

Preview Lab → · Contrast checker → · Palette generator →

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