#D462ED#D462ED

#D462ED is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.8% C 0.220 H 320.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#D462ED
RGBrgb(212, 98, 237)
HSLhsl(289, 79%, 66%)
HSVhsv(289, 59%, 93%)
CMYKcmyk(10.5%, 58.6%, 0%, 7.1%)
CIE-LABlab(60.65, 64.46, -50.70)
CIE-LCHlch(60.65, 82.01, 321.81°)
OKLaboklab(68.82% 0.1688 -0.1412)
OKLCHoklch(68.82% 0.22 320.1)
XYZxyz(46.8033, 28.8489, 83.2074)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462ED #7BED62
analogous
#8E62ED #D462ED #ED62C0
triadic
#D462ED #EDD462 #62EDD4
tetradic
#D462ED #ED8E62 #7BED62 #62C0ED
square
#D462ED #ED8E62 #7BED62 #62C0ED
split-complementary
#D462ED #C0ED62 #62ED8E
monochromatic
#A016BF #C52BE7 #D462ED #E399F3 #F2D0FA

Accessibility & contrast

On white

3.10
#D462ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#D462ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462ED
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462ED#FFFFFF#000000##000000
##D462ED1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AF1
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#D5789F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d462ed;
/* rgb */ color: rgb(212, 98, 237);
/* oklch */ color: oklch(68.8% 0.220 320.1);
Tailwind
colors: {
  custom: {
    50: '#e494f3',
    500: '#d462ed',
    950: '#000000',
  },
}
SCSS
$custom: #d462ed;
$custom-light: #e494f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d462ed",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 289.209,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6882,
    "c": 0.22005,
    "h": 320.1
  },
  "luminance": 0.28847
}

Semantic roles & 50–950 ramp

primary
#D462ED
secondary
#C7EDBE
accent
#DC0A30
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D462ED

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

Preview Lab → · Contrast checker → · Palette generator →

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