#D331D0#D331D0

#D331D0 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.4% C 0.254 H 328.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D331D0
RGBrgb(211, 49, 208)
HSLhsl(301, 65%, 51%)
HSVhsv(301, 77%, 83%)
CMYKcmyk(0%, 76.8%, 1.4%, 17.3%)
CIE-LABlab(52.51, 77.34, -47.26)
CIE-LCHlch(52.51, 90.63, 328.57°)
OKLaboklab(62.43% 0.2173 -0.1309)
OKLCHoklch(62.43% 0.254 328.9)
XYZxyz(39.3471, 20.6026, 61.5666)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D331D0 #31D334
analogous
#8531D3 #D331D0 #D3317F
triadic
#D331D0 #D0D331 #31D0D3
tetradic
#D331D0 #D38531 #31D334 #317FD3
square
#D331D0 #D38531 #31D334 #317FD3
split-complementary
#D331D0 #7FD331 #31D385
monochromatic
#711870 #A423A1 #D331D0 #DE63DC #E996E7

Accessibility & contrast

On white

4.10
#D331D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D331D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D331D0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D331D0#FFFFFF#000000##000000
##D331D01.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0870D4
Deuteranopia (green-blind)
#6285CC
Tritanopia (blue-blind)
#DA4B80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d331d0;
/* rgb */ color: rgb(211, 49, 208);
/* oklch */ color: oklch(62.4% 0.254 328.9);
Tailwind
colors: {
  custom: {
    50: '#e57cdf',
    500: '#d331d0',
    950: '#000000',
  },
}
SCSS
$custom: #d331d0;
$custom-light: #e57cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#d331d0",
  "rgb": {
    "r": 211,
    "g": 49,
    "b": 208
  },
  "hsl": {
    "h": 301.111,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.62431,
    "c": 0.25364,
    "h": 328.9
  },
  "luminance": 0.206
}

Semantic roles & 50–950 ramp

primary
#D331D0
secondary
#8CD48D
accent
#E84340
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D331D0

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

Preview Lab → · Contrast checker → · Palette generator →

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