#D374EA#D374EA

#D374EA is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.9% C 0.190 H 319.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#D374EA
RGBrgb(211, 116, 234)
HSLhsl(288, 74%, 69%)
HSVhsv(288, 50%, 92%)
CMYKcmyk(9.8%, 50.4%, 0%, 8.2%)
CIE-LABlab(63.58, 55.06, -44.42)
CIE-LCHlch(63.58, 70.74, 321.11°)
OKLaboklab(70.89% 0.1444 -0.1231)
OKLCHoklch(70.89% 0.19 319.5)
XYZxyz(47.9588, 32.2820, 81.5307)
Luminance0.3228 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D374EA #8BEA74
analogous
#9874EA #D374EA #EA74C6
triadic
#D374EA #EAD374 #74EAD3
tetradic
#D374EA #EA9874 #8BEA74 #74C6EA
square
#D374EA #EA9874 #8BEA74 #74C6EA
split-complementary
#D374EA #C6EA74 #74EA98
monochromatic
#A51EC6 #C23FE2 #D374EA #E4A9F2 #F5DEFA

Accessibility & contrast

On white

2.82
#D374EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#D374EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D374EA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D374EA#FFFFFF#000000##000000
##D374EA1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EE
Deuteranopia (green-blind)
#7C9DE7
Tritanopia (blue-blind)
#D485A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d374ea;
/* rgb */ color: rgb(211, 116, 234);
/* oklch */ color: oklch(70.9% 0.190 319.5);
Tailwind
colors: {
  custom: {
    50: '#e39ff1',
    500: '#d374ea',
    950: '#000000',
  },
}
SCSS
$custom: #d374ea;
$custom-light: #e39ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#d374ea",
  "rgb": {
    "r": 211,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 288.305,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70893,
    "c": 0.18973,
    "h": 319.5
  },
  "luminance": 0.3228
}

Semantic roles & 50–950 ramp

primary
#D374EA
secondary
#D2EFCB
accent
#D61036
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D374EA

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

Preview Lab → · Contrast checker → · Palette generator →

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