#D32EF2#D32EF2

#D32EF2 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 64.3% C 0.281 H 320.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#D32EF2
RGBrgb(211, 46, 242)
HSLhsl(291, 88%, 56%)
HSVhsv(291, 81%, 95%)
CMYKcmyk(12.8%, 81%, 0%, 5.1%)
CIE-LABlab(54.26, 83.57, -63.72)
CIE-LCHlch(54.26, 105.09, 322.68°)
OKLaboklab(64.31% 0.2165 -0.1789)
OKLCHoklch(64.31% 0.281 320.4)
XYZxyz(43.8660, 22.2161, 85.9648)
Luminance0.2221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D32EF2 #4DF22E
analogous
#712EF2 #D32EF2 #F22EAF
triadic
#D32EF2 #F2D32E #2EF2D3
tetradic
#D32EF2 #F2712E #4DF22E #2EAFF2
square
#D32EF2 #F2712E #4DF22E #2EAFF2
split-complementary
#D32EF2 #AFF22E #2EF271
monochromatic
#850A9C #B60DD6 #D32EF2 #DF68F6 #EBA1F9

Accessibility & contrast

On white

3.86
#D32EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#D32EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D32EF2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D32EF2#FFFFFF#000000##000000
##D32EF21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#4587EE
Tritanopia (blue-blind)
#D45B93
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d32ef2;
/* rgb */ color: rgb(211, 46, 242);
/* oklch */ color: oklch(64.3% 0.281 320.4);
Tailwind
colors: {
  custom: {
    50: '#e67cf7',
    500: '#d32ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d32ef2;
$custom-light: #e67cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d32ef2",
  "rgb": {
    "r": 211,
    "g": 46,
    "b": 242
  },
  "hsl": {
    "h": 290.51,
    "s": 88.288,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64306,
    "c": 0.28088,
    "h": 320.4
  },
  "luminance": 0.22214
}

Semantic roles & 50–950 ramp

primary
#D32EF2
secondary
#A2E696
accent
#FE294B
background
#FEF8FF
surface
#FDEFFF
border
#D5CAD7
text
#170B17
muted
#857C85

Preview Lab

Preview with #D32EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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