#D370FD#D370FD

#D370FD is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.3% C 0.215 H 314.7°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#D370FD
RGBrgb(211, 112, 253)
HSLhsl(282, 97%, 72%)
HSVhsv(282, 56%, 99%)
CMYKcmyk(16.6%, 55.7%, 0%, 0.8%)
CIE-LABlab(63.78, 60.79, -54.58)
CIE-LCHlch(63.78, 81.70, 318.08°)
OKLaboklab(71.35% 0.1511 -0.1526)
OKLCHoklch(71.35% 0.215 314.7)
XYZxyz(50.3849, 32.5306, 96.5344)
Luminance0.3253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D370FD #9AFD70
analogous
#8D70FD #D370FD #FD70E0
triadic
#D370FD #FDD370 #70FDD3
tetradic
#D370FD #FD8D70 #9AFD70 #70E0FD
square
#D370FD #FD8D70 #9AFD70 #70E0FD
split-complementary
#D370FD #E0FD70 #70FD8D
monochromatic
#A903EF #C034FC #D370FD #E6ACFE #F6E1FF

Accessibility & contrast

On white

2.80
#D370FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#D370FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D370FD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D370FD#FFFFFF#000000##000000
##D370FD1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#6E9DF9
Tritanopia (blue-blind)
#D088AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d370fd;
/* rgb */ color: rgb(211, 112, 253);
/* oklch */ color: oklch(71.3% 0.215 314.7);
Tailwind
colors: {
  custom: {
    50: '#e39dff',
    500: '#d370fd',
    950: '#000000',
  },
}
SCSS
$custom: #d370fd;
$custom-light: #e39dff;
$custom-dark: #000000;
JSON
{
  "hex": "#d370fd",
  "rgb": {
    "r": 211,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 282.128,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71349,
    "c": 0.21479,
    "h": 314.7
  },
  "luminance": 0.32529
}

Semantic roles & 50–950 ramp

primary
#D370FD
secondary
#DDF7D2
accent
#E60044
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D370FD

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

Preview Lab → · Contrast checker → · Palette generator →

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