#D374E7#D374E7

#D374E7 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.7% C 0.187 H 320.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#D374E7
RGBrgb(211, 116, 231)
HSLhsl(290, 71%, 68%)
HSVhsv(290, 50%, 91%)
CMYKcmyk(8.7%, 49.8%, 0%, 9.4%)
CIE-LABlab(63.43, 54.48, -42.97)
CIE-LCHlch(63.43, 69.39, 321.74°)
OKLaboklab(70.74% 0.144 -0.1189)
OKLCHoklch(70.74% 0.187 320.4)
XYZxyz(47.5314, 32.1111, 79.2801)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D374E7 #88E774
analogous
#9974E7 #D374E7 #E774C1
triadic
#D374E7 #E7D374 #74E7D3
tetradic
#D374E7 #E79974 #88E774 #74C1E7
square
#D374E7 #E79974 #88E774 #74C1E7
split-complementary
#D374E7 #C1E774 #74E799
monochromatic
#A421C0 #C240DE #D374E7 #E4A8F0 #F4DCF9

Accessibility & contrast

On white

2.83
#D374E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#D374E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D374E7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D374E7#FFFFFF#000000##000000
##D374E71.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6193EB
Deuteranopia (green-blind)
#7E9DE4
Tritanopia (blue-blind)
#D484A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d374e7;
/* rgb */ color: rgb(211, 116, 231);
/* oklch */ color: oklch(70.7% 0.187 320.4);
Tailwind
colors: {
  custom: {
    50: '#e39fef',
    500: '#d374e7',
    950: '#000000',
  },
}
SCSS
$custom: #d374e7;
$custom-light: #e39fef;
$custom-dark: #000000;
JSON
{
  "hex": "#d374e7",
  "rgb": {
    "r": 211,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 289.565,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70743,
    "c": 0.18676,
    "h": 320.4
  },
  "luminance": 0.32109
}

Semantic roles & 50–950 ramp

primary
#D374E7
secondary
#D0EDCA
accent
#D31334
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D374E7

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

Preview Lab → · Contrast checker → · Palette generator →

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