#D74DFC#D74DFC

#D74DFC is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.8% C 0.261 H 318.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#D74DFC
RGBrgb(215, 77, 252)
HSLhsl(287, 97%, 65%)
HSVhsv(287, 69%, 99%)
CMYKcmyk(14.7%, 69.4%, 0%, 1.2%)
CIE-LABlab(58.78, 76.55, -61.99)
CIE-LCHlch(58.78, 98.50, 321.00°)
OKLaboklab(67.82% 0.1949 -0.174)
OKLCHoklch(67.82% 0.261 318.3)
XYZxyz(48.2465, 26.7853, 94.7053)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74DFC #72FC4D
analogous
#7F4DFC #D74DFC #FC4DCA
triadic
#D74DFC #FCD74D #4DFCD7
tetradic
#D74DFC #FC7F4D #72FC4D #4DCAFC
square
#D74DFC #FC7F4D #72FC4D #4DCAFC
split-complementary
#D74DFC #CAFC4D #4DFC7F
monochromatic
#A103CB #C911FB #D74DFC #E589FD #F2C5FE

Accessibility & contrast

On white

3.30
#D74DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#D74DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74DFC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74DFC#FFFFFF#000000##000000
##D74DFC1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#5592F8
Tritanopia (blue-blind)
#D66FA0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d74dfc;
/* rgb */ color: rgb(215, 77, 252);
/* oklch */ color: oklch(67.8% 0.261 318.3);
Tailwind
colors: {
  custom: {
    50: '#e88afe',
    500: '#d74dfc',
    950: '#000000',
  },
}
SCSS
$custom: #d74dfc;
$custom-light: #e88afe;
$custom-dark: #000000;
JSON
{
  "hex": "#d74dfc",
  "rgb": {
    "r": 215,
    "g": 77,
    "b": 252
  },
  "hsl": {
    "h": 287.314,
    "s": 96.685,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6782,
    "c": 0.26125,
    "h": 318.3
  },
  "luminance": 0.26783
}

Semantic roles & 50–950 ramp

primary
#D74DFC
secondary
#C1F1B4
accent
#E60031
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D18
muted
#857E86

Preview Lab

Preview with #D74DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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