#D34CD8#D34CD8

#D34CD8 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.1% C 0.231 H 326.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#D34CD8
RGBrgb(211, 76, 216)
HSLhsl(298, 64%, 57%)
HSVhsv(298, 65%, 85%)
CMYKcmyk(2.3%, 64.8%, 0%, 15.3%)
CIE-LABlab(56.07, 69.73, -46.18)
CIE-LCHlch(56.07, 83.64, 326.49°)
OKLaboklab(65.12% 0.1922 -0.1279)
OKLCHoklch(65.12% 0.231 326.3)
XYZxyz(41.8423, 23.9783, 67.3768)
Luminance0.2398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D34CD8 #51D84C
analogous
#8D4CD8 #D34CD8 #D84C97
triadic
#D34CD8 #D8D34C #4CD8D3
tetradic
#D34CD8 #D88D4C #51D84C #4C97D8
square
#D34CD8 #D88D4C #51D84C #4C97D8
split-complementary
#D34CD8 #97D84C #4CD88D
monochromatic
#871E8B #B829BE #D34CD8 #DF7EE3 #ECB1EE

Accessibility & contrast

On white

3.62
#D34CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#D34CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D34CD8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D34CD8#FFFFFF#000000##000000
##D34CD81.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#347BDC
Deuteranopia (green-blind)
#6A8CD4
Tritanopia (blue-blind)
#D8608C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d34cd8;
/* rgb */ color: rgb(211, 76, 216);
/* oklch */ color: oklch(65.1% 0.231 326.3);
Tailwind
colors: {
  custom: {
    50: '#e488e4',
    500: '#d34cd8',
    950: '#000000',
  },
}
SCSS
$custom: #d34cd8;
$custom-light: #e488e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d34cd8",
  "rgb": {
    "r": 211,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 297.857,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65117,
    "c": 0.23089,
    "h": 326.3
  },
  "luminance": 0.23976
}

Semantic roles & 50–950 ramp

primary
#D34CD8
secondary
#A6DCA4
accent
#E74147
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D34CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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