#D462F8#D462F8

#D462F8 is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.4% C 0.230 H 317.2°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#D462F8
RGBrgb(212, 98, 248)
HSLhsl(286, 91%, 68%)
HSVhsv(286, 60%, 97%)
CMYKcmyk(14.5%, 60.5%, 0%, 2.7%)
CIE-LABlab(61.23, 66.55, -55.87)
CIE-LCHlch(61.23, 86.90, 319.98°)
OKLaboklab(69.43% 0.1691 -0.1563)
OKLCHoklch(69.43% 0.23 317.2)
XYZxyz(48.4599, 29.5116, 91.9324)
Luminance0.2951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462F8 #86F862
analogous
#8962F8 #D462F8 #F862D1
triadic
#D462F8 #F8D462 #62F8D4
tetradic
#D462F8 #F88962 #86F862 #62D1F8
square
#D462F8 #F88962 #86F862 #62D1F8
split-complementary
#D462F8 #D1F862 #62F889
monochromatic
#A50AD6 #C427F5 #D462F8 #E49DFB #F4D7FD

Accessibility & contrast

On white

3.04
#D462F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#D462F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462F8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462F8#FFFFFF#000000##000000
##D462F81.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#368DFD
Deuteranopia (green-blind)
#6697F4
Tritanopia (blue-blind)
#D37CA4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d462f8;
/* rgb */ color: rgb(212, 98, 248);
/* oklch */ color: oklch(69.4% 0.230 317.2);
Tailwind
colors: {
  custom: {
    50: '#e595fb',
    500: '#d462f8',
    950: '#000000',
  },
}
SCSS
$custom: #d462f8;
$custom-light: #e595fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d462f8",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 285.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69432,
    "c": 0.23026,
    "h": 317.2
  },
  "luminance": 0.2951
}

Semantic roles & 50–950 ramp

primary
#D462F8
secondary
#CFF2C4
accent
#E60037
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D462F8

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

Preview Lab → · Contrast checker → · Palette generator →

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