#D370F2#D370F2

#D370F2 is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 70.8% C 0.204 H 317.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D370F2
RGBrgb(211, 112, 242)
HSLhsl(286, 83%, 69%)
HSVhsv(286, 54%, 95%)
CMYKcmyk(12.8%, 53.7%, 0%, 5.1%)
CIE-LABlab(63.22, 58.59, -49.41)
CIE-LCHlch(63.22, 76.64, 319.86°)
OKLaboklab(70.76% 0.1504 -0.1376)
OKLCHoklch(70.76% 0.204 317.6)
XYZxyz(48.6829, 31.8498, 87.5704)
Luminance0.3185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D370F2 #8FF270
analogous
#9270F2 #D370F2 #F270D0
triadic
#D370F2 #F2D370 #70F2D3
tetradic
#D370F2 #F29270 #8FF270 #70D0F2
square
#D370F2 #F29270 #8FF270 #70D0F2
split-complementary
#D370F2 #D0F270 #70F292
monochromatic
#A613D4 #C238ED #D370F2 #E4A8F7 #F6E0FC

Accessibility & contrast

On white

2.85
#D370F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D370F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D370F2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D370F2#FFFFFF#000000##000000
##D370F21.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#759CEF
Tritanopia (blue-blind)
#D284A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d370f2;
/* rgb */ color: rgb(211, 112, 242);
/* oklch */ color: oklch(70.8% 0.204 317.6);
Tailwind
colors: {
  custom: {
    50: '#e39df7',
    500: '#d370f2',
    950: '#000000',
  },
}
SCSS
$custom: #d370f2;
$custom-light: #e39df7;
$custom-dark: #000000;
JSON
{
  "hex": "#d370f2",
  "rgb": {
    "r": 211,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 285.692,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70756,
    "c": 0.20383,
    "h": 317.6
  },
  "luminance": 0.31848
}

Semantic roles & 50–950 ramp

primary
#D370F2
secondary
#D5F2CC
accent
#E0063A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D370F2

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

Preview Lab → · Contrast checker → · Palette generator →

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