#D373EF#D373EF

#D373EF is a light, vivid purple. Relative luminance 0.323; OKLCH L 71.0% C 0.196 H 318.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D373EF
RGBrgb(211, 115, 239)
HSLhsl(286, 79%, 69%)
HSVhsv(286, 52%, 94%)
CMYKcmyk(11.7%, 51.9%, 0%, 6.3%)
CIE-LABlab(63.63, 56.53, -47.11)
CIE-LCHlch(63.63, 73.59, 320.20°)
OKLaboklab(71.01% 0.1462 -0.1309)
OKLCHoklch(71.01% 0.196 318.2)
XYZxyz(48.5726, 32.3441, 85.3290)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D373EF #8FEF73
analogous
#9573EF #D373EF #EF73CD
triadic
#D373EF #EFD373 #73EFD3
tetradic
#D373EF #EF9573 #8FEF73 #73CDEF
square
#D373EF #EF9573 #8FEF73 #73CDEF
split-complementary
#D373EF #CDEF73 #73EF95
monochromatic
#A618D0 #C23CE9 #D373EF #E4AAF5 #F6E1FC

Accessibility & contrast

On white

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

On black

7.47
#D373EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D373EF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D373EF#FFFFFF#000000##000000
##D373EF1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F3
Deuteranopia (green-blind)
#799DEC
Tritanopia (blue-blind)
#D385A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d373ef;
/* rgb */ color: rgb(211, 115, 239);
/* oklch */ color: oklch(71.0% 0.196 318.2);
Tailwind
colors: {
  custom: {
    50: '#e39ff5',
    500: '#d373ef',
    950: '#000000',
  },
}
SCSS
$custom: #d373ef;
$custom-light: #e39ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#d373ef",
  "rgb": {
    "r": 211,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 286.452,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71008,
    "c": 0.19626,
    "h": 318.2
  },
  "luminance": 0.32342
}

Semantic roles & 50–950 ramp

primary
#D373EF
secondary
#D5F1CD
accent
#DC0A39
background
#FEFAFF
surface
#FCF3FE
border
#D5CDD6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D373EF

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

Preview Lab → · Contrast checker → · Palette generator →

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