#D462FA#D462FA

#D462FA is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.5% C 0.232 H 316.8°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#D462FA
RGBrgb(212, 98, 250)
HSLhsl(285, 94%, 68%)
HSVhsv(285, 61%, 98%)
CMYKcmyk(15.2%, 60.8%, 0%, 2%)
CIE-LABlab(61.34, 66.94, -56.81)
CIE-LCHlch(61.34, 87.79, 319.68°)
OKLaboklab(69.55% 0.1691 -0.159)
OKLCHoklch(69.55% 0.232 316.8)
XYZxyz(48.7718, 29.6364, 93.5752)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462FA #88FA62
analogous
#8862FA #D462FA #FA62D4
triadic
#D462FA #FAD462 #62FAD4
tetradic
#D462FA #FA8862 #88FA62 #62D4FA
square
#D462FA #FA8862 #88FA62 #62D4FA
split-complementary
#D462FA #D4FA62 #62FA88
monochromatic
#A607DB #C427F8 #D462FA #E49DFC #F4D9FE

Accessibility & contrast

On white

3.03
#D462FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#D462FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462FA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462FA#FFFFFF#000000##000000
##D462FA1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#338DFF
Deuteranopia (green-blind)
#6598F6
Tritanopia (blue-blind)
#D27CA5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d462fa;
/* rgb */ color: rgb(212, 98, 250);
/* oklch */ color: oklch(69.5% 0.232 316.8);
Tailwind
colors: {
  custom: {
    50: '#e595fd',
    500: '#d462fa',
    950: '#000000',
  },
}
SCSS
$custom: #d462fa;
$custom-light: #e595fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d462fa",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 285,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69546,
    "c": 0.23213,
    "h": 316.8
  },
  "luminance": 0.29635
}

Semantic roles & 50–950 ramp

primary
#D462FA
secondary
#D0F3C5
accent
#E60039
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D462FA

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

Preview Lab → · Contrast checker → · Palette generator →

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