#D370EC#D370EC

#D370EC is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.4% C 0.198 H 319.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D370EC
RGBrgb(211, 112, 236)
HSLhsl(288, 77%, 68%)
HSVhsv(288, 53%, 93%)
CMYKcmyk(10.6%, 52.5%, 0%, 7.5%)
CIE-LABlab(62.92, 57.42, -46.55)
CIE-LCHlch(62.92, 73.92, 320.97°)
OKLaboklab(70.44% 0.1499 -0.1293)
OKLCHoklch(70.44% 0.198 319.2)
XYZxyz(47.7965, 31.4952, 82.9021)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D370EC #89EC70
analogous
#9570EC #D370EC #EC70C7
triadic
#D370EC #ECD370 #70ECD3
tetradic
#D370EC #EC9570 #89EC70 #70C7EC
square
#D370EC #EC9570 #89EC70 #70C7EC
split-complementary
#D370EC #C7EC70 #70EC95
monochromatic
#A41AC7 #C23AE5 #D370EC #E4A6F3 #F4DCFA

Accessibility & contrast

On white

2.88
#D370EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D370EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D370EC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D370EC#FFFFFF#000000##000000
##D370EC1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891F0
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#D482A4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d370ec;
/* rgb */ color: rgb(211, 112, 236);
/* oklch */ color: oklch(70.4% 0.198 319.2);
Tailwind
colors: {
  custom: {
    50: '#e39df2',
    500: '#d370ec',
    950: '#000000',
  },
}
SCSS
$custom: #d370ec;
$custom-light: #e39df2;
$custom-dark: #000000;
JSON
{
  "hex": "#d370ec",
  "rgb": {
    "r": 211,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 287.903,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70443,
    "c": 0.19793,
    "h": 319.2
  },
  "luminance": 0.31493
}

Semantic roles & 50–950 ramp

primary
#D370EC
secondary
#D1EFC9
accent
#D90D36
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D370EC

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

Preview Lab → · Contrast checker → · Palette generator →

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