#D370FC#D370FC

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

Color values

HEX#D370FC
RGBrgb(211, 112, 252)
HSLhsl(282, 96%, 71%)
HSVhsv(282, 56%, 99%)
CMYKcmyk(16.3%, 55.6%, 0%, 1.2%)
CIE-LABlab(63.73, 60.58, -54.12)
CIE-LCHlch(63.73, 81.23, 318.23°)
OKLaboklab(71.29% 0.1511 -0.1513)
OKLCHoklch(71.29% 0.214 315)
XYZxyz(50.2260, 32.4670, 95.6976)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D370FC #99FC70
analogous
#8D70FC #D370FC #FC70DF
triadic
#D370FC #FCD370 #70FCD3
tetradic
#D370FC #FC8D70 #99FC70 #70DFFC
square
#D370FC #FC8D70 #99FC70 #70DFFC
split-complementary
#D370FC #DFFC70 #70FC8D
monochromatic
#A905ED #C134FB #D370FC #E5ACFD #F6E1FE

Accessibility & contrast

On white

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

On black

7.49
#D370FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D370FC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D370FC#FFFFFF#000000##000000
##D370FC1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#D087AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d370fc;
/* rgb */ color: rgb(211, 112, 252);
/* oklch */ color: oklch(71.3% 0.214 315.0);
Tailwind
colors: {
  custom: {
    50: '#e39dfe',
    500: '#d370fc',
    950: '#000000',
  },
}
SCSS
$custom: #d370fc;
$custom-light: #e39dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d370fc",
  "rgb": {
    "r": 211,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 282.429,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71294,
    "c": 0.21379,
    "h": 315
  },
  "luminance": 0.32465
}

Semantic roles & 50–950 ramp

primary
#D370FC
secondary
#DCF6D2
accent
#E60043
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D370FC

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

Preview Lab → · Contrast checker → · Palette generator →

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