#D462E7#D462E7

#D462E7 is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.5% C 0.215 H 321.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#D462E7
RGBrgb(212, 98, 231)
HSLhsl(291, 73%, 65%)
HSVhsv(291, 58%, 91%)
CMYKcmyk(8.2%, 57.6%, 0%, 9.4%)
CIE-LABlab(60.34, 63.34, -47.84)
CIE-LCHlch(60.34, 79.37, 322.94°)
OKLaboklab(68.5% 0.1684 -0.1329)
OKLCHoklch(68.5% 0.215 321.7)
XYZxyz(45.9413, 28.5042, 78.6678)
Luminance0.2850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462E7 #75E762
analogous
#9262E7 #D462E7 #E762B7
triadic
#D462E7 #E7D462 #62E7D4
tetradic
#D462E7 #E79262 #75E762 #62B7E7
square
#D462E7 #E79262 #75E762 #62B7E7
split-complementary
#D462E7 #B7E762 #62E792
monochromatic
#9E1BB3 #C52DDF #D462E7 #E397EF #F1CCF7

Accessibility & contrast

On white

3.13
#D462E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#D462E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462E7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462E7#FFFFFF#000000##000000
##D462E71.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4889EB
Deuteranopia (green-blind)
#7196E3
Tritanopia (blue-blind)
#D6769C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d462e7;
/* rgb */ color: rgb(212, 98, 231);
/* oklch */ color: oklch(68.5% 0.215 321.7);
Tailwind
colors: {
  custom: {
    50: '#e494ef',
    500: '#d462e7',
    950: '#000000',
  },
}
SCSS
$custom: #d462e7;
$custom-light: #e494ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d462e7",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 291.429,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68497,
    "c": 0.21456,
    "h": 321.7
  },
  "luminance": 0.28502
}

Semantic roles & 50–950 ramp

primary
#D462E7
secondary
#C2E9BB
accent
#D6102C
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D462E7

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

Preview Lab → · Contrast checker → · Palette generator →

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