#D34ED7#D34ED7

#D34ED7 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.3% C 0.228 H 326.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#D34ED7
RGBrgb(211, 78, 215)
HSLhsl(298, 63%, 57%)
HSVhsv(298, 64%, 84%)
CMYKcmyk(1.9%, 63.7%, 0%, 15.7%)
CIE-LABlab(56.29, 68.78, -45.25)
CIE-LCHlch(56.29, 82.33, 326.66°)
OKLaboklab(65.27% 0.19 -0.1253)
OKLCHoklch(65.27% 0.228 326.6)
XYZxyz(41.8533, 24.2066, 66.7447)
Luminance0.2420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D34ED7 #52D74E
analogous
#8E4ED7 #D34ED7 #D74E97
triadic
#D34ED7 #D7D34E #4ED7D3
tetradic
#D34ED7 #D78E4E #52D74E #4E97D7
square
#D34ED7 #D78E4E #52D74E #4E97D7
split-complementary
#D34ED7 #97D74E #4ED78E
monochromatic
#881F8B #B92BBD #D34ED7 #DF80E2 #ECB2EE

Accessibility & contrast

On white

3.60
#D34ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#D34ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D34ED7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D34ED7#FFFFFF#000000##000000
##D34ED71.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#387CDB
Deuteranopia (green-blind)
#6C8DD3
Tritanopia (blue-blind)
#D9618C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d34ed7;
/* rgb */ color: rgb(211, 78, 215);
/* oklch */ color: oklch(65.3% 0.228 326.6);
Tailwind
colors: {
  custom: {
    50: '#e489e4',
    500: '#d34ed7',
    950: '#000000',
  },
}
SCSS
$custom: #d34ed7;
$custom-light: #e489e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d34ed7",
  "rgb": {
    "r": 211,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 298.248,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65265,
    "c": 0.22756,
    "h": 326.6
  },
  "luminance": 0.24204
}

Semantic roles & 50–950 ramp

primary
#D34ED7
secondary
#A6DCA5
accent
#E64246
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D34ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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