#D370EF#D370EF

#D370EF is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 70.6% C 0.201 H 318.4°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#D370EF
RGBrgb(211, 112, 239)
HSLhsl(287, 80%, 69%)
HSVhsv(287, 53%, 94%)
CMYKcmyk(11.7%, 53.1%, 0%, 6.3%)
CIE-LABlab(63.07, 58.00, -47.98)
CIE-LCHlch(63.07, 75.28, 320.40°)
OKLaboklab(70.6% 0.1502 -0.1334)
OKLCHoklch(70.6% 0.201 318.4)
XYZxyz(48.2360, 31.6710, 85.2169)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D370EF #8CEF70
analogous
#9470EF #D370EF #EF70CB
triadic
#D370EF #EFD370 #70EFD3
tetradic
#D370EF #EF9470 #8CEF70 #70CBEF
square
#D370EF #EF9470 #8CEF70 #70CBEF
split-complementary
#D370EF #CBEF70 #70EF94
monochromatic
#A517CE #C239E9 #D370EF #E4A7F5 #F5DEFB

Accessibility & contrast

On white

2.86
#D370EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#D370EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D370EF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D370EF#FFFFFF#000000##000000
##D370EF1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F3
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#D383A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d370ef;
/* rgb */ color: rgb(211, 112, 239);
/* oklch */ color: oklch(70.6% 0.201 318.4);
Tailwind
colors: {
  custom: {
    50: '#e39df5',
    500: '#d370ef',
    950: '#000000',
  },
}
SCSS
$custom: #d370ef;
$custom-light: #e39df5;
$custom-dark: #000000;
JSON
{
  "hex": "#d370ef",
  "rgb": {
    "r": 211,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 286.772,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70599,
    "c": 0.20087,
    "h": 318.4
  },
  "luminance": 0.31669
}

Semantic roles & 50–950 ramp

primary
#D370EF
secondary
#D3F0CB
accent
#DC0938
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D370EF

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

Preview Lab → · Contrast checker → · Palette generator →

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