#D42FE3#D42FE3

#D42FE3 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.6% C 0.269 H 324.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D42FE3
RGBrgb(212, 47, 227)
HSLhsl(295, 76%, 54%)
HSVhsv(295, 79%, 89%)
CMYKcmyk(6.6%, 79.3%, 0%, 11%)
CIE-LABlab(53.58, 81.03, -56.36)
CIE-LCHlch(53.58, 98.71, 325.18°)
OKLaboklab(63.57% 0.2187 -0.1574)
OKLCHoklch(63.57% 0.269 324.3)
XYZxyz(42.0319, 21.5789, 74.6094)
Luminance0.2158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42FE3 #3EE32F
analogous
#7A2FE3 #D42FE3 #E32F98
triadic
#D42FE3 #E3D42F #2FE3D4
tetradic
#D42FE3 #E37A2F #3EE32F #2F98E3
square
#D42FE3 #E37A2F #3EE32F #2F98E3
split-complementary
#D42FE3 #98E32F #2FE37A
monochromatic
#7C1286 #AE19BC #D42FE3 #DF65EA #EA9BF2

Accessibility & contrast

On white

3.95
#D42FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D42FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D42FE3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42FE3#FFFFFF#000000##000000
##D42FE31.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#5586DF
Tritanopia (blue-blind)
#D8548B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d42fe3;
/* rgb */ color: rgb(212, 47, 227);
/* oklch */ color: oklch(63.6% 0.269 324.3);
Tailwind
colors: {
  custom: {
    50: '#e67cec',
    500: '#d42fe3',
    950: '#000000',
  },
}
SCSS
$custom: #d42fe3;
$custom-light: #e67cec;
$custom-dark: #000000;
JSON
{
  "hex": "#d42fe3",
  "rgb": {
    "r": 212,
    "g": 47,
    "b": 227
  },
  "hsl": {
    "h": 295,
    "s": 76.271,
    "l": 53.725
  },
  "oklch": {
    "l": 0.63565,
    "c": 0.26942,
    "h": 324.3
  },
  "luminance": 0.21576
}

Semantic roles & 50–950 ramp

primary
#D42FE3
secondary
#97DD90
accent
#F33545
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #D42FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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