#D374F7#D374F7

#D374F7 is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 71.6% C 0.203 H 315.9°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D374F7
RGBrgb(211, 116, 247)
HSLhsl(284, 89%, 71%)
HSVhsv(284, 53%, 97%)
CMYKcmyk(14.6%, 53%, 0%, 3.1%)
CIE-LABlab(64.21, 57.63, -50.60)
CIE-LCHlch(64.21, 76.69, 318.71°)
OKLaboklab(71.56% 0.1457 -0.1411)
OKLCHoklch(71.56% 0.203 315.9)
XYZxyz(49.8953, 33.0567, 91.7299)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D374F7 #98F774
analogous
#9174F7 #D374F7 #F774DA
triadic
#D374F7 #F7D374 #74F7D3
tetradic
#D374F7 #F79174 #98F774 #74DAF7
square
#D374F7 #F79174 #98F774 #74DAF7
split-complementary
#D374F7 #DAF774 #74F791
monochromatic
#A90DE4 #C13AF4 #D374F7 #E5AEFA #F6E2FD

Accessibility & contrast

On white

2.76
#D374F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D374F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D374F7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D374F7#FFFFFF#000000##000000
##D374F71.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FB
Deuteranopia (green-blind)
#759EF4
Tritanopia (blue-blind)
#D189AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d374f7;
/* rgb */ color: rgb(211, 116, 247);
/* oklch */ color: oklch(71.6% 0.203 315.9);
Tailwind
colors: {
  custom: {
    50: '#e39ffa',
    500: '#d374f7',
    950: '#000000',
  },
}
SCSS
$custom: #d374f7;
$custom-light: #e39ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#d374f7",
  "rgb": {
    "r": 211,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 283.511,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71564,
    "c": 0.20277,
    "h": 315.9
  },
  "luminance": 0.33055
}

Semantic roles & 50–950 ramp

primary
#D374F7
secondary
#DCF5D2
accent
#E6003F
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D374F7

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

Preview Lab → · Contrast checker → · Palette generator →

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