#D462C7#D462C7

#D462C7 is a light, vivid purple. Relative luminance 0.269; OKLCH L 66.9% C 0.187 H 332.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#D462C7
RGBrgb(212, 98, 199)
HSLhsl(307, 57%, 61%)
HSVhsv(307, 54%, 83%)
CMYKcmyk(0%, 53.8%, 6.1%, 16.9%)
CIE-LABlab(58.84, 57.72, -32.15)
CIE-LCHlch(58.84, 66.07, 330.88°)
OKLaboklab(66.91% 0.1648 -0.0877)
OKLCHoklch(66.91% 0.187 332)
XYZxyz(41.8277, 26.8587, 57.0029)
Luminance0.2686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462C7 #62D46F
analogous
#A862D4 #D462C7 #D4628E
triadic
#D462C7 #C7D462 #62C7D4
tetradic
#D462C7 #D4A862 #62D46F #628ED4
square
#D462C7 #D4A862 #62D46F #628ED4
split-complementary
#D462C7 #8ED462 #62D4A8
monochromatic
#932887 #C335B3 #D462C7 #E192D8 #EEC2E9

Accessibility & contrast

On white

3.30
#D462C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#D462C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462C7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462C7#FFFFFF#000000##000000
##D462C71.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E83CA
Deuteranopia (green-blind)
#8093C4
Tritanopia (blue-blind)
#DC6B8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d462c7;
/* rgb */ color: rgb(212, 98, 199);
/* oklch */ color: oklch(66.9% 0.187 332.0);
Tailwind
colors: {
  custom: {
    50: '#e494d8',
    500: '#d462c7',
    950: '#000000',
  },
}
SCSS
$custom: #d462c7;
$custom-light: #e494d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d462c7",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 199
  },
  "hsl": {
    "h": 306.842,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6691,
    "c": 0.1867,
    "h": 332
  },
  "luminance": 0.26856
}

Semantic roles & 50–950 ramp

primary
#D462C7
secondary
#B3DEB8
accent
#C53421
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D462C7

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

Preview Lab → · Contrast checker → · Palette generator →

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