#D462F5#D462F5

#D462F5 is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.3% C 0.227 H 318.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#D462F5
RGBrgb(212, 98, 245)
HSLhsl(287, 88%, 67%)
HSVhsv(287, 60%, 96%)
CMYKcmyk(13.5%, 60%, 0%, 3.9%)
CIE-LABlab(61.07, 65.97, -54.47)
CIE-LCHlch(61.07, 85.55, 320.45°)
OKLaboklab(69.26% 0.169 -0.1522)
OKLCHoklch(69.26% 0.227 318)
XYZxyz(47.9982, 29.3269, 89.5008)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462F5 #83F562
analogous
#8B62F5 #D462F5 #F562CC
triadic
#D462F5 #F5D462 #62F5D4
tetradic
#D462F5 #F58B62 #83F562 #62CCF5
square
#D462F5 #F58B62 #83F562 #62CCF5
split-complementary
#D462F5 #CCF562 #62F58B
monochromatic
#A40DCF #C428F1 #D462F5 #E49CF9 #F4D5FC

Accessibility & contrast

On white

3.06
#D462F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#D462F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462F5
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462F5#FFFFFF#000000##000000
##D462F51.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8CFA
Deuteranopia (green-blind)
#6897F1
Tritanopia (blue-blind)
#D37BA3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d462f5;
/* rgb */ color: rgb(212, 98, 245);
/* oklch */ color: oklch(69.3% 0.227 318.0);
Tailwind
colors: {
  custom: {
    50: '#e495f9',
    500: '#d462f5',
    950: '#000000',
  },
}
SCSS
$custom: #d462f5;
$custom-light: #e495f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d462f5",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 286.531,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69262,
    "c": 0.22746,
    "h": 318
  },
  "luminance": 0.29325
}

Semantic roles & 50–950 ramp

primary
#D462F5
secondary
#CDF1C2
accent
#E50134
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D462F5

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

Preview Lab → · Contrast checker → · Palette generator →

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