#D462DC#D462DC

#D462DC is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 67.9% C 0.205 H 325.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#D462DC
RGBrgb(212, 98, 220)
HSLhsl(296, 64%, 62%)
HSVhsv(296, 55%, 86%)
CMYKcmyk(3.6%, 55.5%, 0%, 13.7%)
CIE-LABlab(59.80, 61.34, -42.53)
CIE-LCHlch(59.80, 74.64, 325.26°)
OKLaboklab(67.93% 0.1676 -0.1175)
OKLCHoklch(67.93% 0.205 325)
XYZxyz(44.4363, 27.9021, 70.7413)
Luminance0.2790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462DC #6ADC62
analogous
#9762DC #D462DC #DC62A7
triadic
#D462DC #DCD462 #62DCD4
tetradic
#D462DC #DC9762 #6ADC62 #62A7DC
square
#D462DC #DC9762 #6ADC62 #62A7DC
split-complementary
#D462DC #A7DC62 #62DC97
monochromatic
#9824A0 #C630D1 #D462DC #E294E7 #EFC6F2

Accessibility & contrast

On white

3.19
#D462DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#D462DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462DC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462DC#FFFFFF#000000##000000
##D462DC1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#7795D9
Tritanopia (blue-blind)
#D87296
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d462dc;
/* rgb */ color: rgb(212, 98, 220);
/* oklch */ color: oklch(67.9% 0.205 325.0);
Tailwind
colors: {
  custom: {
    50: '#e494e7',
    500: '#d462dc',
    950: '#000000',
  },
}
SCSS
$custom: #d462dc;
$custom-light: #e494e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d462dc",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 296.066,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67926,
    "c": 0.20466,
    "h": 325
  },
  "luminance": 0.279
}

Semantic roles & 50–950 ramp

primary
#D462DC
secondary
#BAE3B7
accent
#CB1A26
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D462DC

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

Preview Lab → · Contrast checker → · Palette generator →

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