#D74AFF#D74AFF

#D74AFF is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.7% C 0.267 H 317.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#D74AFF
RGBrgb(215, 74, 255)
HSLhsl(287, 100%, 65%)
HSVhsv(287, 71%, 100%)
CMYKcmyk(15.7%, 71%, 0%, 0%)
CIE-LABlab(58.57, 78.18, -63.98)
CIE-LCHlch(58.57, 101.02, 320.70°)
OKLaboklab(67.73% 0.1975 -0.1798)
OKLCHoklch(67.73% 0.267 317.7)
XYZxyz(48.5205, 26.5668, 97.1604)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74AFF #72FF4A
analogous
#7C4AFF #D74AFF #FF4ACD
triadic
#D74AFF #FFD74A #4AFFD7
tetradic
#D74AFF #FF7C4A #72FF4A #4ACDFF
square
#D74AFF #FF7C4A #72FF4A #4ACDFF
split-complementary
#D74AFF #CDFF4A #4AFF7C
monochromatic
#A100CF #C90DFF #D74AFF #E587FF #F2C4FF

Accessibility & contrast

On white

3.33
#D74AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#D74AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74AFF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74AFF#FFFFFF#000000##000000
##D74AFF1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#5091FB
Tritanopia (blue-blind)
#D66FA1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d74aff;
/* rgb */ color: rgb(215, 74, 255);
/* oklch */ color: oklch(67.7% 0.267 317.7);
Tailwind
colors: {
  custom: {
    50: '#e889ff',
    500: '#d74aff',
    950: '#000000',
  },
}
SCSS
$custom: #d74aff;
$custom-light: #e889ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d74aff",
  "rgb": {
    "r": 215,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 286.74,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67732,
    "c": 0.26706,
    "h": 317.7
  },
  "luminance": 0.26565
}

Semantic roles & 50–950 ramp

primary
#D74AFF
secondary
#C1F2B3
accent
#E60033
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#170D18
muted
#857D86

Preview Lab

Preview with #D74AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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