#D074F2#D074F2

#D074F2 is a light, vivid purple. Relative luminance 0.323; OKLCH L 71.0% C 0.196 H 316.2°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#D074F2
RGBrgb(208, 116, 242)
HSLhsl(284, 83%, 70%)
HSVhsv(284, 52%, 95%)
CMYKcmyk(14%, 52.1%, 0%, 5.1%)
CIE-LABlab(63.60, 55.84, -48.83)
CIE-LCHlch(63.60, 74.18, 318.84°)
OKLaboklab(70.96% 0.1417 -0.136)
OKLCHoklch(70.96% 0.196 316.2)
XYZxyz(48.2824, 32.3130, 87.6809)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D074F2 #96F274
analogous
#9174F2 #D074F2 #F274D5
triadic
#D074F2 #F2D074 #74F2D0
tetradic
#D074F2 #F29174 #96F274 #74D5F2
square
#D074F2 #F29174 #96F274 #74D5F2
split-complementary
#D074F2 #D5F274 #74F291
monochromatic
#A314D7 #BD3CED #D074F2 #E3ACF7 #F6E3FC

Accessibility & contrast

On white

2.81
#D074F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#D074F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D074F2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D074F2#FFFFFF#000000##000000
##D074F21.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#769DEF
Tritanopia (blue-blind)
#CE87A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d074f2;
/* rgb */ color: rgb(208, 116, 242);
/* oklch */ color: oklch(71.0% 0.196 316.2);
Tailwind
colors: {
  custom: {
    50: '#e19ff7',
    500: '#d074f2',
    950: '#000000',
  },
}
SCSS
$custom: #d074f2;
$custom-light: #e19ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#d074f2",
  "rgb": {
    "r": 208,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 283.81,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70959,
    "c": 0.1964,
    "h": 316.2
  },
  "luminance": 0.32311
}

Semantic roles & 50–950 ramp

primary
#D074F2
secondary
#D9F2CF
accent
#DF0641
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D074F2

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

Preview Lab → · Contrast checker → · Palette generator →

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