#D462DB#D462DB

#D462DB is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 67.9% C 0.204 H 325.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#D462DB
RGBrgb(212, 98, 219)
HSLhsl(297, 63%, 62%)
HSVhsv(297, 55%, 86%)
CMYKcmyk(3.2%, 55.3%, 0%, 14.1%)
CIE-LABlab(59.75, 61.16, -42.04)
CIE-LCHlch(59.75, 74.22, 325.49°)
OKLaboklab(67.88% 0.1675 -0.1161)
OKLCHoklch(67.88% 0.204 325.3)
XYZxyz(44.3042, 27.8493, 70.0459)
Luminance0.2785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462DB #69DB62
analogous
#9862DB #D462DB #DB62A6
triadic
#D462DB #DBD462 #62DBD4
tetradic
#D462DB #DB9862 #69DB62 #62A6DB
square
#D462DB #DB9862 #69DB62 #62A6DB
split-complementary
#D462DB #A6DB62 #62DB98
monochromatic
#97249E #C630D0 #D462DB #E294E6 #EFC6F2

Accessibility & contrast

On white

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

On black

6.57
#D462DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462DB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462DB#FFFFFF#000000##000000
##D462DB1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5287DF
Deuteranopia (green-blind)
#7795D8
Tritanopia (blue-blind)
#D97196
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d462db;
/* rgb */ color: rgb(212, 98, 219);
/* oklch */ color: oklch(67.9% 0.204 325.3);
Tailwind
colors: {
  custom: {
    50: '#e494e6',
    500: '#d462db',
    950: '#000000',
  },
}
SCSS
$custom: #d462db;
$custom-light: #e494e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d462db",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 296.529,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67875,
    "c": 0.20378,
    "h": 325.3
  },
  "luminance": 0.27847
}

Semantic roles & 50–950 ramp

primary
#D462DB
secondary
#B9E3B6
accent
#CA1B25
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D462DB

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

Preview Lab → · Contrast checker → · Palette generator →

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