#D34FF2#D34FF2

#D34FF2 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.9% C 0.249 H 319.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#D34FF2
RGBrgb(211, 79, 242)
HSLhsl(289, 86%, 63%)
HSVhsv(289, 67%, 95%)
CMYKcmyk(12.8%, 67.4%, 0%, 5.1%)
CIE-LABlab(57.90, 73.14, -57.87)
CIE-LCHlch(57.90, 93.27, 321.65°)
OKLaboklab(66.89% 0.1889 -0.162)
OKLCHoklch(66.89% 0.249 319.4)
XYZxyz(45.6849, 25.8538, 86.5711)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D34FF2 #6EF24F
analogous
#814FF2 #D34FF2 #F24FBF
triadic
#D34FF2 #F2D34F #4FF2D3
tetradic
#D34FF2 #F2814F #6EF24F #4FBFF2
square
#D34FF2 #F2814F #6EF24F #4FBFF2
split-complementary
#D34FF2 #BFF24F #4FF281
monochromatic
#980EB9 #C516EE #D34FF2 #E188F6 #EFC1FA

Accessibility & contrast

On white

3.40
#D34FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#D34FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D34FF2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D34FF2#FFFFFF#000000##000000
##D34FF21.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#5B90EE
Tritanopia (blue-blind)
#D36D9B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d34ff2;
/* rgb */ color: rgb(211, 79, 242);
/* oklch */ color: oklch(66.9% 0.249 319.4);
Tailwind
colors: {
  custom: {
    50: '#e48af7',
    500: '#d34ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d34ff2;
$custom-light: #e48af7;
$custom-dark: #000000;
JSON
{
  "hex": "#d34ff2",
  "rgb": {
    "r": 211,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 288.589,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66892,
    "c": 0.24889,
    "h": 319.4
  },
  "luminance": 0.25852
}

Semantic roles & 50–950 ramp

primary
#D34FF2
secondary
#BCECB1
accent
#E3032D
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160D17
muted
#847D85

Preview Lab

Preview with #D34FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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