#D331E3#D331E3

#D331E3 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.5% C 0.267 H 324.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D331E3
RGBrgb(211, 49, 227)
HSLhsl(295, 76%, 54%)
HSVhsv(295, 78%, 89%)
CMYKcmyk(7%, 78.4%, 0%, 11%)
CIE-LABlab(53.59, 80.34, -56.34)
CIE-LCHlch(53.59, 98.13, 324.96°)
OKLaboklab(63.55% 0.2162 -0.1574)
OKLCHoklch(63.55% 0.267 324)
XYZxyz(41.8262, 21.5942, 74.6232)
Luminance0.2159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D331E3 #41E331
analogous
#7A31E3 #D331E3 #E3319A
triadic
#D331E3 #E3D331 #31E3D3
tetradic
#D331E3 #E37A31 #41E331 #319AE3
square
#D331E3 #E37A31 #41E331 #319AE3
split-complementary
#D331E3 #9AE331 #31E37A
monochromatic
#7D1287 #AE1ABD #D331E3 #DF67EA #EA9DF2

Accessibility & contrast

On white

3.95
#D331E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D331E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D331E3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D331E3#FFFFFF#000000##000000
##D331E31.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#5586DF
Tritanopia (blue-blind)
#D7558B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d331e3;
/* rgb */ color: rgb(211, 49, 227);
/* oklch */ color: oklch(63.5% 0.267 324.0);
Tailwind
colors: {
  custom: {
    50: '#e57dec',
    500: '#d331e3',
    950: '#000000',
  },
}
SCSS
$custom: #d331e3;
$custom-light: #e57dec;
$custom-dark: #000000;
JSON
{
  "hex": "#d331e3",
  "rgb": {
    "r": 211,
    "g": 49,
    "b": 227
  },
  "hsl": {
    "h": 294.607,
    "s": 76.068,
    "l": 54.118
  },
  "oklch": {
    "l": 0.63546,
    "c": 0.26743,
    "h": 324
  },
  "luminance": 0.21592
}

Semantic roles & 50–950 ramp

primary
#D331E3
secondary
#99DE92
accent
#F33546
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #D331E3

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

Preview Lab → · Contrast checker → · Palette generator →

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