#D370FA#D370FA

#D370FA is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.2% C 0.212 H 315.5°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D370FA
RGBrgb(211, 112, 250)
HSLhsl(283, 93%, 71%)
HSVhsv(283, 55%, 98%)
CMYKcmyk(15.6%, 55.2%, 0%, 2%)
CIE-LABlab(63.62, 60.18, -53.18)
CIE-LCHlch(63.62, 80.31, 318.53°)
OKLaboklab(71.19% 0.151 -0.1485)
OKLCHoklch(71.19% 0.212 315.5)
XYZxyz(49.9108, 32.3409, 94.0372)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D370FA #97FA70
analogous
#8E70FA #D370FA #FA70DC
triadic
#D370FA #FAD370 #70FAD3
tetradic
#D370FA #FA8E70 #97FA70 #70DCFA
square
#D370FA #FA8E70 #97FA70 #70DCFA
split-complementary
#D370FA #DCFA70 #70FA8E
monochromatic
#A808E8 #C135F8 #D370FA #E5ABFC #F6E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D370FA#FFFFFF#000000##000000
##D370FA1.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)
#4D94FE
Deuteranopia (green-blind)
#709DF6
Tritanopia (blue-blind)
#D187AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d370fa;
/* rgb */ color: rgb(211, 112, 250);
/* oklch */ color: oklch(71.2% 0.212 315.5);
Tailwind
colors: {
  custom: {
    50: '#e39dfc',
    500: '#d370fa',
    950: '#000000',
  },
}
SCSS
$custom: #d370fa;
$custom-light: #e39dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d370fa",
  "rgb": {
    "r": 211,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 283.043,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71185,
    "c": 0.21179,
    "h": 315.5
  },
  "luminance": 0.32339
}

Semantic roles & 50–950 ramp

primary
#D370FA
secondary
#DBF5D1
accent
#E60041
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D370FA

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

Preview Lab → · Contrast checker → · Palette generator →

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