#D370F8#D370F8

#D370F8 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.1% C 0.210 H 316.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#D370F8
RGBrgb(211, 112, 248)
HSLhsl(284, 91%, 71%)
HSVhsv(284, 55%, 97%)
CMYKcmyk(14.9%, 54.8%, 0%, 2.7%)
CIE-LABlab(63.52, 59.78, -52.24)
CIE-LCHlch(63.52, 79.39, 318.85°)
OKLaboklab(71.08% 0.1508 -0.1458)
OKLCHoklch(71.08% 0.21 316)
XYZxyz(49.5988, 32.2162, 92.3944)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D370F8 #95F870
analogous
#8F70F8 #D370F8 #F870D9
triadic
#D370F8 #F8D370 #70F8D3
tetradic
#D370F8 #F88F70 #95F870 #70D9F8
square
#D370F8 #F88F70 #95F870 #70D9F8
split-complementary
#D370F8 #D9F870 #70F88F
monochromatic
#A80BE3 #C136F5 #D370F8 #E5AAFB #F6E2FE

Accessibility & contrast

On white

2.82
#D370F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#D370F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D370F8
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D370F8#FFFFFF#000000##000000
##D370F81.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#719DF4
Tritanopia (blue-blind)
#D186AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d370f8;
/* rgb */ color: rgb(211, 112, 248);
/* oklch */ color: oklch(71.1% 0.210 316.0);
Tailwind
colors: {
  custom: {
    50: '#e39dfb',
    500: '#d370f8',
    950: '#000000',
  },
}
SCSS
$custom: #d370f8;
$custom-light: #e39dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d370f8",
  "rgb": {
    "r": 211,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 283.676,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71076,
    "c": 0.20979,
    "h": 316
  },
  "luminance": 0.32215
}

Semantic roles & 50–950 ramp

primary
#D370F8
secondary
#D9F4CF
accent
#E6003E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D370F8

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

Preview Lab → · Contrast checker → · Palette generator →

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