#D370EA#D370EA

#D370EA is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.3% C 0.196 H 319.8°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#D370EA
RGBrgb(211, 112, 234)
HSLhsl(289, 74%, 68%)
HSVhsv(289, 52%, 92%)
CMYKcmyk(9.8%, 52.1%, 0%, 8.2%)
CIE-LABlab(62.83, 57.03, -45.59)
CIE-LCHlch(62.83, 73.02, 321.36°)
OKLaboklab(70.34% 0.1497 -0.1265)
OKLCHoklch(70.34% 0.196 319.8)
XYZxyz(47.5076, 31.3797, 81.3803)
Luminance0.3138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D370EA #87EA70
analogous
#9670EA #D370EA #EA70C4
triadic
#D370EA #EAD370 #70EAD3
tetradic
#D370EA #EA9670 #87EA70 #70C4EA
square
#D370EA #EA9670 #87EA70 #70C4EA
split-complementary
#D370EA #C4EA70 #70EA96
monochromatic
#A41DC3 #C33BE2 #D370EA #E3A5F2 #F4DBFA

Accessibility & contrast

On white

2.89
#D370EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#D370EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D370EA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D370EA#FFFFFF#000000##000000
##D370EA1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91EE
Deuteranopia (green-blind)
#799CE7
Tritanopia (blue-blind)
#D481A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d370ea;
/* rgb */ color: rgb(211, 112, 234);
/* oklch */ color: oklch(70.3% 0.196 319.8);
Tailwind
colors: {
  custom: {
    50: '#e39df1',
    500: '#d370ea',
    950: '#000000',
  },
}
SCSS
$custom: #d370ea;
$custom-light: #e39df1;
$custom-dark: #000000;
JSON
{
  "hex": "#d370ea",
  "rgb": {
    "r": 211,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 288.689,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.7034,
    "c": 0.19597,
    "h": 319.8
  },
  "luminance": 0.31378
}

Semantic roles & 50–950 ramp

primary
#D370EA
secondary
#CFEEC8
accent
#D70F35
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D370EA

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

Preview Lab → · Contrast checker → · Palette generator →

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