#D462CF#D462CF

#D462CF is a light, vivid purple. Relative luminance 0.272; OKLCH L 67.3% C 0.193 H 329.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#D462CF
RGBrgb(212, 98, 207)
HSLhsl(303, 57%, 61%)
HSVhsv(303, 54%, 83%)
CMYKcmyk(0%, 53.8%, 2.4%, 16.9%)
CIE-LABlab(59.20, 59.06, -36.14)
CIE-LCHlch(59.20, 69.25, 328.54°)
OKLaboklab(67.29% 0.166 -0.0991)
OKLCHoklch(67.29% 0.193 329.2)
XYZxyz(42.7811, 27.2401, 62.0239)
Luminance0.2724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462CF #62D467
analogous
#A062D4 #D462CF #D46296
triadic
#D462CF #CFD462 #62CFD4
tetradic
#D462CF #D4A062 #62D467 #6296D4
square
#D462CF #D4A062 #62D467 #6296D4
split-complementary
#D462CF #96D462 #62D4A0
monochromatic
#93288F #C335BD #D462CF #E192DE #EEC2EC

Accessibility & contrast

On white

3.26
#D462CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#D462CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462CF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462CF#FFFFFF#000000##000000
##D462CF1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5985D3
Deuteranopia (green-blind)
#7D94CC
Tritanopia (blue-blind)
#DB6D90
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d462cf;
/* rgb */ color: rgb(212, 98, 207);
/* oklch */ color: oklch(67.3% 0.193 329.2);
Tailwind
colors: {
  custom: {
    50: '#e494de',
    500: '#d462cf',
    950: '#000000',
  },
}
SCSS
$custom: #d462cf;
$custom-light: #e494de;
$custom-dark: #000000;
JSON
{
  "hex": "#d462cf",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 302.632,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.67285,
    "c": 0.19337,
    "h": 329.2
  },
  "luminance": 0.27237
}

Semantic roles & 50–950 ramp

primary
#D462CF
secondary
#B3DEB5
accent
#C52821
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D462CF

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

Preview Lab → · Contrast checker → · Palette generator →

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