#D462D5#D462D5

#D462D5 is a light, vivid purple. Relative luminance 0.275; OKLCH L 67.6% C 0.199 H 327.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#D462D5
RGBrgb(212, 98, 213)
HSLhsl(299, 58%, 61%)
HSVhsv(299, 54%, 84%)
CMYKcmyk(0.5%, 54%, 0%, 16.5%)
CIE-LABlab(59.47, 60.10, -39.11)
CIE-LCHlch(59.47, 71.70, 326.95°)
OKLaboklab(67.58% 0.1668 -0.1076)
OKLCHoklch(67.58% 0.199 327.2)
XYZxyz(43.5286, 27.5391, 65.9607)
Luminance0.2754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462D5 #63D562
analogous
#9A62D5 #D462D5 #D5629C
triadic
#D462D5 #D5D462 #62D5D4
tetradic
#D462D5 #D59A62 #63D562 #629CD5
square
#D462D5 #D59A62 #63D562 #629CD5
split-complementary
#D462D5 #9CD562 #62D59A
monochromatic
#942895 #C435C5 #D462D5 #E192E2 #EEC3EF

Accessibility & contrast

On white

3.23
#D462D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#D462D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462D5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462D5#FFFFFF#000000##000000
##D462D51.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5686D9
Deuteranopia (green-blind)
#7A94D2
Tritanopia (blue-blind)
#DA6F93
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d462d5;
/* rgb */ color: rgb(212, 98, 213);
/* oklch */ color: oklch(67.6% 0.199 327.2);
Tailwind
colors: {
  custom: {
    50: '#e494e2',
    500: '#d462d5',
    950: '#000000',
  },
}
SCSS
$custom: #d462d5;
$custom-light: #e494e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d462d5",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 213
  },
  "hsl": {
    "h": 299.478,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67576,
    "c": 0.19852,
    "h": 327.2
  },
  "luminance": 0.27537
}

Semantic roles & 50–950 ramp

primary
#D462D5
secondary
#B4DFB4
accent
#C52022
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D462D5

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

Preview Lab → · Contrast checker → · Palette generator →

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