#D462C2#D462C2

#D462C2 is a light, vivid purple. Relative luminance 0.266; OKLCH L 66.7% C 0.183 H 333.8°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#D462C2
RGBrgb(212, 98, 194)
HSLhsl(309, 57%, 61%)
HSVhsv(309, 54%, 83%)
CMYKcmyk(0%, 53.8%, 8.5%, 16.9%)
CIE-LABlab(58.63, 56.89, -29.63)
CIE-LCHlch(58.63, 64.15, 332.49°)
OKLaboklab(66.68% 0.164 -0.0805)
OKLCHoklch(66.68% 0.183 333.8)
XYZxyz(41.2567, 26.6303, 53.9956)
Luminance0.2663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462C2 #62D474
analogous
#AD62D4 #D462C2 #D46289
triadic
#D462C2 #C2D462 #62C2D4
tetradic
#D462C2 #D4AD62 #62D474 #6289D4
square
#D462C2 #D4AD62 #62D474 #6289D4
split-complementary
#D462C2 #89D462 #62D4AD
monochromatic
#932882 #C335AD #D462C2 #E192D5 #EEC2E7

Accessibility & contrast

On white

3.32
#D462C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#D462C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462C2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462C2#FFFFFF#000000##000000
##D462C21.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6182C5
Deuteranopia (green-blind)
#8293BF
Tritanopia (blue-blind)
#DD6989
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d462c2;
/* rgb */ color: rgb(212, 98, 194);
/* oklch */ color: oklch(66.7% 0.183 333.8);
Tailwind
colors: {
  custom: {
    50: '#e494d4',
    500: '#d462c2',
    950: '#000000',
  },
}
SCSS
$custom: #d462c2;
$custom-light: #e494d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d462c2",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 309.474,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66684,
    "c": 0.18267,
    "h": 333.8
  },
  "luminance": 0.26627
}

Semantic roles & 50–950 ramp

primary
#D462C2
secondary
#B3DEBA
accent
#C53B21
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D462C2

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

Preview Lab → · Contrast checker → · Palette generator →

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