#D373F2#D373F2

#D373F2 is a light, vivid purple. Relative luminance 0.325; OKLCH L 71.2% C 0.199 H 317.3°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#D373F2
RGBrgb(211, 115, 242)
HSLhsl(285, 83%, 70%)
HSVhsv(285, 52%, 95%)
CMYKcmyk(12.8%, 52.5%, 0%, 5.1%)
CIE-LABlab(63.77, 57.12, -48.53)
CIE-LCHlch(63.77, 74.96, 319.65°)
OKLaboklab(71.16% 0.1465 -0.135)
OKLCHoklch(71.16% 0.199 317.3)
XYZxyz(49.0194, 32.5229, 87.6826)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D373F2 #92F273
analogous
#9373F2 #D373F2 #F273D2
triadic
#D373F2 #F2D373 #73F2D3
tetradic
#D373F2 #F29373 #92F273 #73D2F2
square
#D373F2 #F29373 #92F273 #73D2F2
split-complementary
#D373F2 #D2F273 #73F293
monochromatic
#A714D7 #C13BED #D373F2 #E5ABF7 #F6E3FC

Accessibility & contrast

On white

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

On black

7.50
#D373F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D373F2
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D373F2#FFFFFF#000000##000000
##D373F21.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#D286A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d373f2;
/* rgb */ color: rgb(211, 115, 242);
/* oklch */ color: oklch(71.2% 0.199 317.3);
Tailwind
colors: {
  custom: {
    50: '#e39ff7',
    500: '#d373f2',
    950: '#000000',
  },
}
SCSS
$custom: #d373f2;
$custom-light: #e39ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#d373f2",
  "rgb": {
    "r": 211,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 285.354,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.71164,
    "c": 0.19927,
    "h": 317.3
  },
  "luminance": 0.32521
}

Semantic roles & 50–950 ramp

primary
#D373F2
secondary
#D7F2CF
accent
#DF063B
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D373F2

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

Preview Lab → · Contrast checker → · Palette generator →

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