#D462EF#D462EF

#D462EF is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 68.9% C 0.222 H 319.5°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#D462EF
RGBrgb(212, 98, 239)
HSLhsl(289, 82%, 66%)
HSVhsv(289, 59%, 94%)
CMYKcmyk(11.3%, 59%, 0%, 6.3%)
CIE-LABlab(60.75, 64.83, -51.65)
CIE-LCHlch(60.75, 82.89, 321.46°)
OKLaboklab(68.93% 0.1689 -0.144)
OKLCHoklch(68.93% 0.222 319.5)
XYZxyz(47.0971, 28.9665, 84.7549)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462EF #7DEF62
analogous
#8D62EF #D462EF #EF62C3
triadic
#D462EF #EFD462 #62EFD4
tetradic
#D462EF #EF8D62 #7DEF62 #62C3EF
square
#D462EF #EF8D62 #7DEF62 #62C3EF
split-complementary
#D462EF #C3EF62 #62EF8D
monochromatic
#A114C3 #C52AE9 #D462EF #E39AF5 #F2D1FA

Accessibility & contrast

On white

3.09
#D462EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#D462EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462EF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462EF#FFFFFF#000000##000000
##D462EF1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#408BF3
Deuteranopia (green-blind)
#6C97EB
Tritanopia (blue-blind)
#D578A0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d462ef;
/* rgb */ color: rgb(212, 98, 239);
/* oklch */ color: oklch(68.9% 0.222 319.5);
Tailwind
colors: {
  custom: {
    50: '#e494f5',
    500: '#d462ef',
    950: '#000000',
  },
}
SCSS
$custom: #d462ef;
$custom-light: #e494f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d462ef",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 288.511,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68929,
    "c": 0.2219,
    "h": 319.5
  },
  "luminance": 0.28964
}

Semantic roles & 50–950 ramp

primary
#D462EF
secondary
#C8EEBF
accent
#DE0831
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D462EF

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

Preview Lab → · Contrast checker → · Palette generator →

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