#D34CD7#D34CD7

#D34CD7 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.1% C 0.230 H 326.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#D34CD7
RGBrgb(211, 76, 215)
HSLhsl(298, 63%, 57%)
HSVhsv(298, 65%, 84%)
CMYKcmyk(1.9%, 64.7%, 0%, 15.7%)
CIE-LABlab(56.01, 69.56, -45.69)
CIE-LCHlch(56.01, 83.23, 326.70°)
OKLaboklab(65.06% 0.1922 -0.1265)
OKLCHoklch(65.06% 0.23 326.6)
XYZxyz(41.7134, 23.9268, 66.6980)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D34CD7 #50D74C
analogous
#8D4CD7 #D34CD7 #D74C96
triadic
#D34CD7 #D7D34C #4CD7D3
tetradic
#D34CD7 #D78D4C #50D74C #4C96D7
square
#D34CD7 #D78D4C #50D74C #4C96D7
split-complementary
#D34CD7 #96D74C #4CD78D
monochromatic
#871F8A #B82ABC #D34CD7 #DF7EE2 #ECB0ED

Accessibility & contrast

On white

3.63
#D34CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#D34CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D34CD7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D34CD7#FFFFFF#000000##000000
##D34CD71.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#357BDB
Deuteranopia (green-blind)
#6B8CD3
Tritanopia (blue-blind)
#D9608B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d34cd7;
/* rgb */ color: rgb(211, 76, 215);
/* oklch */ color: oklch(65.1% 0.230 326.6);
Tailwind
colors: {
  custom: {
    50: '#e488e4',
    500: '#d34cd7',
    950: '#000000',
  },
}
SCSS
$custom: #d34cd7;
$custom-light: #e488e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d34cd7",
  "rgb": {
    "r": 211,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 298.273,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65063,
    "c": 0.23009,
    "h": 326.6
  },
  "luminance": 0.23924
}

Semantic roles & 50–950 ramp

primary
#D34CD7
secondary
#A5DCA3
accent
#E64146
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D34CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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