#D462F0#D462F0

#D462F0 is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 69.0% C 0.223 H 319.3°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#D462F0
RGBrgb(212, 98, 240)
HSLhsl(288, 83%, 66%)
HSVhsv(288, 59%, 94%)
CMYKcmyk(11.7%, 59.2%, 0%, 5.9%)
CIE-LABlab(60.80, 65.02, -52.12)
CIE-LCHlch(60.80, 83.33, 321.29°)
OKLaboklab(68.98% 0.1689 -0.1453)
OKLCHoklch(68.98% 0.223 319.3)
XYZxyz(47.2452, 29.0257, 85.5351)
Luminance0.2902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462F0 #7EF062
analogous
#8D62F0 #D462F0 #F062C5
triadic
#D462F0 #F0D462 #62F0D4
tetradic
#D462F0 #F08D62 #7EF062 #62C5F0
square
#D462F0 #F08D62 #7EF062 #62C5F0
split-complementary
#D462F0 #C5F062 #62F08D
monochromatic
#A213C5 #C52AEB #D462F0 #E39AF5 #F3D2FB

Accessibility & contrast

On white

3.09
#D462F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#D462F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462F0
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462F0#FFFFFF#000000##000000
##D462F01.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8BF4
Deuteranopia (green-blind)
#6B97EC
Tritanopia (blue-blind)
#D479A0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d462f0;
/* rgb */ color: rgb(212, 98, 240);
/* oklch */ color: oklch(69.0% 0.223 319.3);
Tailwind
colors: {
  custom: {
    50: '#e495f5',
    500: '#d462f0',
    950: '#000000',
  },
}
SCSS
$custom: #d462f0;
$custom-light: #e495f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d462f0",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 288.169,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68984,
    "c": 0.22282,
    "h": 319.3
  },
  "luminance": 0.29024
}

Semantic roles & 50–950 ramp

primary
#D462F0
secondary
#C9EEC0
accent
#DF0731
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D462F0

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

Preview Lab → · Contrast checker → · Palette generator →

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