#D462CC#D462CC

#D462CC is a light, vivid purple. Relative luminance 0.271; OKLCH L 67.1% C 0.191 H 330.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#D462CC
RGBrgb(212, 98, 204)
HSLhsl(304, 57%, 61%)
HSVhsv(304, 54%, 83%)
CMYKcmyk(0%, 53.8%, 3.8%, 16.9%)
CIE-LABlab(59.06, 58.55, -34.65)
CIE-LCHlch(59.06, 68.04, 329.38°)
OKLaboklab(67.14% 0.1656 -0.0949)
OKLCHoklch(67.14% 0.191 330.2)
XYZxyz(42.4178, 27.0948, 60.1107)
Luminance0.2709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462CC #62D46A
analogous
#A362D4 #D462CC #D46293
triadic
#D462CC #CCD462 #62CCD4
tetradic
#D462CC #D4A362 #62D46A #6293D4
square
#D462CC #D4A362 #62D46A #6293D4
split-complementary
#D462CC #93D462 #62D4A3
monochromatic
#93288C #C335B9 #D462CC #E192DC #EEC2EB

Accessibility & contrast

On white

3.27
#D462CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#D462CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462CC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462CC#FFFFFF#000000##000000
##D462CC1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84CF
Deuteranopia (green-blind)
#7E94C9
Tritanopia (blue-blind)
#DB6C8E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d462cc;
/* rgb */ color: rgb(212, 98, 204);
/* oklch */ color: oklch(67.1% 0.191 330.2);
Tailwind
colors: {
  custom: {
    50: '#e494dc',
    500: '#d462cc',
    950: '#000000',
  },
}
SCSS
$custom: #d462cc;
$custom-light: #e494dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d462cc",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 304.211,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.67143,
    "c": 0.19084,
    "h": 330.2
  },
  "luminance": 0.27092
}

Semantic roles & 50–950 ramp

primary
#D462CC
secondary
#B3DEB6
accent
#C52C21
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D462CC

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

Preview Lab → · Contrast checker → · Palette generator →

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