#D370FE#D370FE

#D370FE is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.4% C 0.216 H 314.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#D370FE
RGBrgb(211, 112, 254)
HSLhsl(282, 99%, 72%)
HSVhsv(282, 56%, 100%)
CMYKcmyk(16.9%, 55.9%, 0%, 0.4%)
CIE-LABlab(63.83, 60.99, -55.05)
CIE-LCHlch(63.83, 82.16, 317.93°)
OKLaboklab(71.4% 0.1512 -0.154)
OKLCHoklch(71.4% 0.216 314.5)
XYZxyz(50.5446, 32.5945, 97.3755)
Luminance0.3259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D370FE #9BFE70
analogous
#8C70FE #D370FE #FE70E2
triadic
#D370FE #FED370 #70FED3
tetradic
#D370FE #FE8C70 #9BFE70 #70E2FE
square
#D370FE #FE8C70 #9BFE70 #70E2FE
split-complementary
#D370FE #E2FE70 #70FE8C
monochromatic
#A902F2 #C033FE #D370FE #E6ADFE #F6E1FF

Accessibility & contrast

On white

2.79
#D370FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#D370FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D370FE
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D370FE#FFFFFF#000000##000000
##D370FE1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#6D9DFA
Tritanopia (blue-blind)
#D088AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d370fe;
/* rgb */ color: rgb(211, 112, 254);
/* oklch */ color: oklch(71.4% 0.216 314.5);
Tailwind
colors: {
  custom: {
    50: '#e39dff',
    500: '#d370fe',
    950: '#000000',
  },
}
SCSS
$custom: #d370fe;
$custom-light: #e39dff;
$custom-dark: #000000;
JSON
{
  "hex": "#d370fe",
  "rgb": {
    "r": 211,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 281.831,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71404,
    "c": 0.2158,
    "h": 314.5
  },
  "luminance": 0.32593
}

Semantic roles & 50–950 ramp

primary
#D370FE
secondary
#DEF7D3
accent
#E60045
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D370FE

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

Preview Lab → · Contrast checker → · Palette generator →

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