#D370EB#D370EB

#D370EB is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.4% C 0.197 H 319.5°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#D370EB
RGBrgb(211, 112, 235)
HSLhsl(288, 75%, 68%)
HSVhsv(288, 52%, 92%)
CMYKcmyk(10.2%, 52.3%, 0%, 7.8%)
CIE-LABlab(62.88, 57.23, -46.07)
CIE-LCHlch(62.88, 73.47, 321.16°)
OKLaboklab(70.39% 0.1498 -0.1279)
OKLCHoklch(70.39% 0.197 319.5)
XYZxyz(47.6516, 31.4373, 82.1391)
Luminance0.3144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D370EB #88EB70
analogous
#9570EB #D370EB #EB70C5
triadic
#D370EB #EBD370 #70EBD3
tetradic
#D370EB #EB9570 #88EB70 #70C5EB
square
#D370EB #EB9570 #88EB70 #70C5EB
split-complementary
#D370EB #C5EB70 #70EB95
monochromatic
#A41CC5 #C23AE3 #D370EB #E4A6F3 #F4DBFA

Accessibility & contrast

On white

2.88
#D370EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#D370EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D370EB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D370EB#FFFFFF#000000##000000
##D370EB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#789CE8
Tritanopia (blue-blind)
#D482A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d370eb;
/* rgb */ color: rgb(211, 112, 235);
/* oklch */ color: oklch(70.4% 0.197 319.5);
Tailwind
colors: {
  custom: {
    50: '#e39df2',
    500: '#d370eb',
    950: '#000000',
  },
}
SCSS
$custom: #d370eb;
$custom-light: #e39df2;
$custom-dark: #000000;
JSON
{
  "hex": "#d370eb",
  "rgb": {
    "r": 211,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 288.293,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70392,
    "c": 0.19694,
    "h": 319.5
  },
  "luminance": 0.31435
}

Semantic roles & 50–950 ramp

primary
#D370EB
secondary
#D0EEC9
accent
#D80E35
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D370EB

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

Preview Lab → · Contrast checker → · Palette generator →

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