#D462F6#D462F6

#D462F6 is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.3% C 0.228 H 317.7°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#D462F6
RGBrgb(212, 98, 246)
HSLhsl(286, 89%, 67%)
HSVhsv(286, 60%, 96%)
CMYKcmyk(13.8%, 60.2%, 0%, 3.5%)
CIE-LABlab(61.12, 66.17, -54.94)
CIE-LCHlch(61.12, 86.00, 320.30°)
OKLaboklab(69.32% 0.1691 -0.1536)
OKLCHoklch(69.32% 0.228 317.7)
XYZxyz(48.1513, 29.3881, 90.3070)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462F6 #84F662
analogous
#8A62F6 #D462F6 #F662CE
triadic
#D462F6 #F6D462 #62F6D4
tetradic
#D462F6 #F68A62 #84F662 #62CEF6
square
#D462F6 #F68A62 #84F662 #62CEF6
split-complementary
#D462F6 #CEF662 #62F68A
monochromatic
#A40CD2 #C428F3 #D462F6 #E49CF9 #F4D6FD

Accessibility & contrast

On white

3.05
#D462F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#D462F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462F6
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462F6#FFFFFF#000000##000000
##D462F61.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#388CFB
Deuteranopia (green-blind)
#6797F2
Tritanopia (blue-blind)
#D37BA3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d462f6;
/* rgb */ color: rgb(212, 98, 246);
/* oklch */ color: oklch(69.3% 0.228 317.7);
Tailwind
colors: {
  custom: {
    50: '#e495fa',
    500: '#d462f6',
    950: '#000000',
  },
}
SCSS
$custom: #d462f6;
$custom-light: #e495fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d462f6",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 286.216,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69319,
    "c": 0.22839,
    "h": 317.7
  },
  "luminance": 0.29386
}

Semantic roles & 50–950 ramp

primary
#D462F6
secondary
#CDF1C3
accent
#E60035
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D462F6

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

Preview Lab → · Contrast checker → · Palette generator →

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