#D374FE#D374FE

#D374FE is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 71.9% C 0.210 H 314.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#D374FE
RGBrgb(211, 116, 254)
HSLhsl(281, 99%, 73%)
HSVhsv(281, 54%, 100%)
CMYKcmyk(16.9%, 54.3%, 0%, 0.4%)
CIE-LABlab(64.56, 59.04, -53.89)
CIE-LCHlch(64.56, 79.94, 317.61°)
OKLaboklab(71.94% 0.1462 -0.1506)
OKLCHoklch(71.94% 0.21 314.1)
XYZxyz(50.9958, 33.4969, 97.5259)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D374FE #9FFE74
analogous
#8E74FE #D374FE #FE74E4
triadic
#D374FE #FED374 #74FED3
tetradic
#D374FE #FE8E74 #9FFE74 #74E4FE
square
#D374FE #FE8E74 #9FFE74 #74E4FE
split-complementary
#D374FE #E4FE74 #74FE8E
monochromatic
#AA02F6 #C037FE #D374FE #E6B1FE #F5E1FF

Accessibility & contrast

On white

2.73
#D374FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#D374FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D374FE
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D374FE#FFFFFF#000000##000000
##D374FE1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#719FFA
Tritanopia (blue-blind)
#CF8BAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d374fe;
/* rgb */ color: rgb(211, 116, 254);
/* oklch */ color: oklch(71.9% 0.210 314.1);
Tailwind
colors: {
  custom: {
    50: '#e3a0ff',
    500: '#d374fe',
    950: '#000000',
  },
}
SCSS
$custom: #d374fe;
$custom-light: #e3a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d374fe",
  "rgb": {
    "r": 211,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 281.304,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71939,
    "c": 0.20989,
    "h": 314.1
  },
  "luminance": 0.33495
}

Semantic roles & 50–950 ramp

primary
#D374FE
secondary
#DFF7D4
accent
#E60048
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D374FE

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

Preview Lab → · Contrast checker → · Palette generator →

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