#D374EF#D374EF

#D374EF is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.1% C 0.195 H 318.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#D374EF
RGBrgb(211, 116, 239)
HSLhsl(286, 79%, 70%)
HSVhsv(286, 51%, 94%)
CMYKcmyk(11.7%, 51.5%, 0%, 6.3%)
CIE-LABlab(63.81, 56.04, -46.81)
CIE-LCHlch(63.81, 73.02, 320.13°)
OKLaboklab(71.15% 0.1449 -0.13)
OKLCHoklch(71.15% 0.195 318.1)
XYZxyz(48.6872, 32.5734, 85.3673)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D374EF #90EF74
analogous
#9574EF #D374EF #EF74CE
triadic
#D374EF #EFD374 #74EFD3
tetradic
#D374EF #EF9574 #90EF74 #74CEEF
square
#D374EF #EF9574 #90EF74 #74CEEF
split-complementary
#D374EF #CEEF74 #74EF95
monochromatic
#A718D1 #C23DE9 #D374EF #E4ABF5 #F6E2FC

Accessibility & contrast

On white

2.79
#D374EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#D374EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D374EF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D374EF#FFFFFF#000000##000000
##D374EF1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F3
Deuteranopia (green-blind)
#799EEC
Tritanopia (blue-blind)
#D386A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d374ef;
/* rgb */ color: rgb(211, 116, 239);
/* oklch */ color: oklch(71.1% 0.195 318.1);
Tailwind
colors: {
  custom: {
    50: '#e39ff5',
    500: '#d374ef',
    950: '#000000',
  },
}
SCSS
$custom: #d374ef;
$custom-light: #e39ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#d374ef",
  "rgb": {
    "r": 211,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 286.341,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71147,
    "c": 0.19471,
    "h": 318.1
  },
  "luminance": 0.32572
}

Semantic roles & 50–950 ramp

primary
#D374EF
secondary
#D6F1CE
accent
#DC0A3A
background
#FEFAFF
surface
#FCF3FE
border
#D5CDD6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D374EF

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

Preview Lab → · Contrast checker → · Palette generator →

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