#D462E8#D462E8

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

Color values

HEX#D462E8
RGBrgb(212, 98, 232)
HSLhsl(291, 74%, 65%)
HSVhsv(291, 58%, 91%)
CMYKcmyk(8.6%, 57.8%, 0%, 9%)
CIE-LABlab(60.39, 63.52, -48.32)
CIE-LCHlch(60.39, 79.81, 322.74°)
OKLaboklab(68.55% 0.1685 -0.1343)
OKLCHoklch(68.55% 0.215 321.4)
XYZxyz(46.0829, 28.5608, 79.4137)
Luminance0.2856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462E8 #76E862
analogous
#9162E8 #D462E8 #E862B9
triadic
#D462E8 #E8D462 #62E8D4
tetradic
#D462E8 #E89162 #76E862 #62B9E8
square
#D462E8 #E89162 #76E862 #62B9E8
split-complementary
#D462E8 #B9E862 #62E891
monochromatic
#9E1BB5 #C52DE0 #D462E8 #E397F0 #F1CDF8

Accessibility & contrast

On white

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

On black

6.71
#D462E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462E8
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462E8#FFFFFF#000000##000000
##D462E81.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4789EC
Deuteranopia (green-blind)
#7096E4
Tritanopia (blue-blind)
#D6769C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d462e8;
/* rgb */ color: rgb(212, 98, 232);
/* oklch */ color: oklch(68.5% 0.215 321.4);
Tailwind
colors: {
  custom: {
    50: '#e494f0',
    500: '#d462e8',
    950: '#000000',
  },
}
SCSS
$custom: #d462e8;
$custom-light: #e494f0;
$custom-dark: #000000;
JSON
{
  "hex": "#d462e8",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 291.045,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6855,
    "c": 0.21547,
    "h": 321.4
  },
  "luminance": 0.28559
}

Semantic roles & 50–950 ramp

primary
#D462E8
secondary
#C3EABC
accent
#D70F2D
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D462E8

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

Preview Lab → · Contrast checker → · Palette generator →

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