#D874FA#D874FA

#D874FA is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.3% C 0.208 H 316.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#D874FA
RGBrgb(216, 116, 250)
HSLhsl(285, 93%, 72%)
HSVhsv(285, 54%, 98%)
CMYKcmyk(13.6%, 53.6%, 0%, 2%)
CIE-LABlab(64.96, 59.50, -51.03)
CIE-LCHlch(64.96, 78.39, 319.38°)
OKLaboklab(72.29% 0.1517 -0.1422)
OKLCHoklch(72.29% 0.208 316.9)
XYZxyz(51.8171, 33.9936, 94.2558)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D874FA #96FA74
analogous
#9574FA #D874FA #FA74D9
triadic
#D874FA #FAD874 #74FAD8
tetradic
#D874FA #FA9574 #96FA74 #74D9FA
square
#D874FA #FA9574 #96FA74 #74D9FA
split-complementary
#D874FA #D9FA74 #74FA95
monochromatic
#B208EB #C739F8 #D874FA #E9AFFC #F7E1FE

Accessibility & contrast

On white

2.69
#D874FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#D874FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D874FA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D874FA#FFFFFF#000000##000000
##D874FA1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FE
Deuteranopia (green-blind)
#77A1F6
Tritanopia (blue-blind)
#D789AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d874fa;
/* rgb */ color: rgb(216, 116, 250);
/* oklch */ color: oklch(72.3% 0.208 316.9);
Tailwind
colors: {
  custom: {
    50: '#e7a0fc',
    500: '#d874fa',
    950: '#000000',
  },
}
SCSS
$custom: #d874fa;
$custom-light: #e7a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d874fa",
  "rgb": {
    "r": 216,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 284.776,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72294,
    "c": 0.20793,
    "h": 316.9
  },
  "luminance": 0.33992
}

Semantic roles & 50–950 ramp

primary
#D874FA
secondary
#DDF6D4
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D874FA

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

Preview Lab → · Contrast checker → · Palette generator →

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