#D370FB#D370FB

#D370FB is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.2% C 0.213 H 315.2°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#D370FB
RGBrgb(211, 112, 251)
HSLhsl(283, 95%, 71%)
HSVhsv(283, 55%, 98%)
CMYKcmyk(15.9%, 55.4%, 0%, 1.6%)
CIE-LABlab(63.68, 60.38, -53.65)
CIE-LCHlch(63.68, 80.77, 318.38°)
OKLaboklab(71.24% 0.151 -0.1499)
OKLCHoklch(71.24% 0.213 315.2)
XYZxyz(50.0680, 32.4038, 94.8652)
Luminance0.3240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D370FB #98FB70
analogous
#8D70FB #D370FB #FB70DD
triadic
#D370FB #FBD370 #70FBD3
tetradic
#D370FB #FB8D70 #98FB70 #70DDFB
square
#D370FB #FB8D70 #98FB70 #70DDFB
split-complementary
#D370FB #DDFB70 #70FB8D
monochromatic
#A907EA #C134F9 #D370FB #E5ACFD #F6E1FE

Accessibility & contrast

On white

2.81
#D370FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#D370FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D370FB
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D370FB#FFFFFF#000000##000000
##D370FB1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FF
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#D087AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d370fb;
/* rgb */ color: rgb(211, 112, 251);
/* oklch */ color: oklch(71.2% 0.213 315.2);
Tailwind
colors: {
  custom: {
    50: '#e39dfd',
    500: '#d370fb',
    950: '#000000',
  },
}
SCSS
$custom: #d370fb;
$custom-light: #e39dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d370fb",
  "rgb": {
    "r": 211,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 282.734,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71239,
    "c": 0.21279,
    "h": 315.2
  },
  "luminance": 0.32402
}

Semantic roles & 50–950 ramp

primary
#D370FB
secondary
#DCF6D1
accent
#E60042
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D370FB

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

Preview Lab → · Contrast checker → · Palette generator →

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