#D370F6#D370F6

#D370F6 is a light, highly saturated purple. Relative luminance 0.321; OKLCH L 71.0% C 0.208 H 316.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#D370F6
RGBrgb(211, 112, 246)
HSLhsl(284, 88%, 70%)
HSVhsv(284, 54%, 96%)
CMYKcmyk(14.2%, 54.5%, 0%, 3.5%)
CIE-LABlab(63.42, 59.38, -51.30)
CIE-LCHlch(63.42, 78.47, 319.18°)
OKLaboklab(70.97% 0.1507 -0.1431)
OKLCHoklch(70.97% 0.208 316.5)
XYZxyz(49.2902, 32.0927, 90.7690)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D370F6 #93F670
analogous
#9070F6 #D370F6 #F670D6
triadic
#D370F6 #F6D370 #70F6D3
tetradic
#D370F6 #F69070 #93F670 #70D6F6
square
#D370F6 #F69070 #93F670 #70D6F6
split-complementary
#D370F6 #D6F670 #70F690
monochromatic
#A70EDE #C136F2 #D370F6 #E5AAFA #F6E2FD

Accessibility & contrast

On white

2.83
#D370F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#D370F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D370F6
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D370F6#FFFFFF#000000##000000
##D370F61.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093FA
Deuteranopia (green-blind)
#729DF3
Tritanopia (blue-blind)
#D185A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d370f6;
/* rgb */ color: rgb(211, 112, 246);
/* oklch */ color: oklch(71.0% 0.208 316.5);
Tailwind
colors: {
  custom: {
    50: '#e39dfa',
    500: '#d370f6',
    950: '#000000',
  },
}
SCSS
$custom: #d370f6;
$custom-light: #e39dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d370f6",
  "rgb": {
    "r": 211,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 284.328,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70969,
    "c": 0.2078,
    "h": 316.5
  },
  "luminance": 0.32091
}

Semantic roles & 50–950 ramp

primary
#D370F6
secondary
#D8F3CE
accent
#E5013C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D370F6

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

Preview Lab → · Contrast checker → · Palette generator →

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