#D074E3#D074E3

#D074E3 is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.2% C 0.181 H 320.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#D074E3
RGBrgb(208, 116, 227)
HSLhsl(290, 66%, 67%)
HSVhsv(290, 49%, 89%)
CMYKcmyk(8.4%, 48.9%, 0%, 11%)
CIE-LABlab(62.88, 52.89, -41.64)
CIE-LCHlch(62.88, 67.31, 321.79°)
OKLaboklab(70.2% 0.14 -0.1151)
OKLCHoklch(70.2% 0.181 320.6)
XYZxyz(46.1213, 31.4486, 76.2989)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D074E3 #87E374
analogous
#9974E3 #D074E3 #E374BE
triadic
#D074E3 #E3D074 #74E3D0
tetradic
#D074E3 #E39974 #87E374 #74BEE3
square
#D074E3 #E39974 #87E374 #74BEE3
split-complementary
#D074E3 #BEE374 #74E399
monochromatic
#9F25B8 #BF41D9 #D074E3 #E1A7ED #F2DAF8

Accessibility & contrast

On white

2.88
#D074E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#D074E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D074E3
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D074E3#FFFFFF#000000##000000
##D074E31.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6292E7
Deuteranopia (green-blind)
#7E9CE0
Tritanopia (blue-blind)
#D283A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d074e3;
/* rgb */ color: rgb(208, 116, 227);
/* oklch */ color: oklch(70.2% 0.181 320.6);
Tailwind
colors: {
  custom: {
    50: '#e09fec',
    500: '#d074e3',
    950: '#000000',
  },
}
SCSS
$custom: #d074e3;
$custom-light: #e09fec;
$custom-dark: #000000;
JSON
{
  "hex": "#d074e3",
  "rgb": {
    "r": 208,
    "g": 116,
    "b": 227
  },
  "hsl": {
    "h": 289.73,
    "s": 66.467,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70197,
    "c": 0.18128,
    "h": 320.6
  },
  "luminance": 0.31447
}

Semantic roles & 50–950 ramp

primary
#D074E3
secondary
#CEEBC8
accent
#CE1737
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D074E3

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

Preview Lab → · Contrast checker → · Palette generator →

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