#D462DA#D462DA

#D462DA is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 67.8% C 0.203 H 325.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#D462DA
RGBrgb(212, 98, 218)
HSLhsl(297, 62%, 62%)
HSVhsv(297, 55%, 85%)
CMYKcmyk(2.8%, 55%, 0%, 14.5%)
CIE-LABlab(59.70, 60.98, -41.56)
CIE-LCHlch(59.70, 73.80, 325.73°)
OKLaboklab(67.83% 0.1674 -0.1147)
OKLCHoklch(67.83% 0.203 325.6)
XYZxyz(44.1730, 27.7968, 69.3547)
Luminance0.2779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462DA #68DA62
analogous
#9862DA #D462DA #DA62A4
triadic
#D462DA #DAD462 #62DAD4
tetradic
#D462DA #DA9862 #68DA62 #62A4DA
square
#D462DA #DA9862 #68DA62 #62A4DA
split-complementary
#D462DA #A4DA62 #62DA98
monochromatic
#97259D #C631CE #D462DA #E294E6 #EFC5F1

Accessibility & contrast

On white

3.20
#D462DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#D462DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462DA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462DA#FFFFFF#000000##000000
##D462DA1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5287DE
Deuteranopia (green-blind)
#7895D7
Tritanopia (blue-blind)
#D97195
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d462da;
/* rgb */ color: rgb(212, 98, 218);
/* oklch */ color: oklch(67.8% 0.203 325.6);
Tailwind
colors: {
  custom: {
    50: '#e494e6',
    500: '#d462da',
    950: '#000000',
  },
}
SCSS
$custom: #d462da;
$custom-light: #e494e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d462da",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 297,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67825,
    "c": 0.2029,
    "h": 325.6
  },
  "luminance": 0.27794
}

Semantic roles & 50–950 ramp

primary
#D462DA
secondary
#B8E2B6
accent
#CA1C25
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D462DA

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

Preview Lab → · Contrast checker → · Palette generator →

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