#D334B9#D334B9

#D334B9 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.4% C 0.235 H 335.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#D334B9
RGBrgb(211, 52, 185)
HSLhsl(310, 64%, 52%)
HSVhsv(310, 75%, 83%)
CMYKcmyk(0%, 75.4%, 12.3%, 17.3%)
CIE-LABlab(51.62, 73.11, -35.38)
CIE-LCHlch(51.62, 81.22, 334.17°)
OKLaboklab(61.41% 0.2142 -0.0966)
OKLCHoklch(61.41% 0.235 335.7)
XYZxyz(36.8495, 19.8110, 47.7727)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D334B9 #34D34E
analogous
#9D34D3 #D334B9 #D3346A
triadic
#D334B9 #B9D334 #34B9D3
tetradic
#D334B9 #D39D34 #34D34E #346AD3
square
#D334B9 #D39D34 #34D34E #346AD3
split-complementary
#D334B9 #6AD334 #34D39D
monochromatic
#741965 #A62491 #D334B9 #DE66CA #E999DC

Accessibility & contrast

On white

4.23
#D334B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#D334B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D334B9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D334B9#FFFFFF#000000##000000
##D334B91.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#356CBD
Deuteranopia (green-blind)
#6F83B5
Tritanopia (blue-blind)
#DE4174
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d334b9;
/* rgb */ color: rgb(211, 52, 185);
/* oklch */ color: oklch(61.4% 0.235 335.7);
Tailwind
colors: {
  custom: {
    50: '#e57cce',
    500: '#d334b9',
    950: '#000000',
  },
}
SCSS
$custom: #d334b9;
$custom-light: #e57cce;
$custom-dark: #000000;
JSON
{
  "hex": "#d334b9",
  "rgb": {
    "r": 211,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 309.811,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61413,
    "c": 0.23496,
    "h": 335.7
  },
  "luminance": 0.19808
}

Semantic roles & 50–950 ramp

primary
#D334B9
secondary
#8ED49A
accent
#E75C40
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D334B9

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

Preview Lab → · Contrast checker → · Palette generator →

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