#D374EC#D374EC

#D374EC is a light, vivid purple. Relative luminance 0.324; OKLCH L 71.0% C 0.192 H 319.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#D374EC
RGBrgb(211, 116, 236)
HSLhsl(288, 76%, 69%)
HSVhsv(288, 51%, 93%)
CMYKcmyk(10.6%, 50.8%, 0%, 7.5%)
CIE-LABlab(63.67, 55.45, -45.38)
CIE-LCHlch(63.67, 71.65, 320.71°)
OKLaboklab(70.99% 0.1446 -0.1259)
OKLCHoklch(70.99% 0.192 319)
XYZxyz(48.2477, 32.3976, 83.0525)
Luminance0.3240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D374EC #8DEC74
analogous
#9774EC #D374EC #EC74C9
triadic
#D374EC #ECD374 #74ECD3
tetradic
#D374EC #EC9774 #8DEC74 #74C9EC
square
#D374EC #EC9774 #8DEC74 #74C9EC
split-complementary
#D374EC #C9EC74 #74EC97
monochromatic
#A61CCA #C23EE5 #D374EC #E4AAF3 #F5E0FB

Accessibility & contrast

On white

2.81
#D374EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#D374EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D374EC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D374EC#FFFFFF#000000##000000
##D374EC1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F0
Deuteranopia (green-blind)
#7B9EE9
Tritanopia (blue-blind)
#D385A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d374ec;
/* rgb */ color: rgb(211, 116, 236);
/* oklch */ color: oklch(71.0% 0.192 319.0);
Tailwind
colors: {
  custom: {
    50: '#e39ff2',
    500: '#d374ec',
    950: '#000000',
  },
}
SCSS
$custom: #d374ec;
$custom-light: #e39ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#d374ec",
  "rgb": {
    "r": 211,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 287.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70994,
    "c": 0.19172,
    "h": 319
  },
  "luminance": 0.32396
}

Semantic roles & 50–950 ramp

primary
#D374EC
secondary
#D4EFCC
accent
#D80D38
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D374EC

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

Preview Lab → · Contrast checker → · Palette generator →

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