#D462F3#D462F3

#D462F3 is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.2% C 0.226 H 318.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#D462F3
RGBrgb(212, 98, 243)
HSLhsl(287, 86%, 67%)
HSVhsv(287, 60%, 95%)
CMYKcmyk(12.8%, 59.7%, 0%, 4.7%)
CIE-LABlab(60.96, 65.59, -53.53)
CIE-LCHlch(60.96, 84.66, 320.78°)
OKLaboklab(69.15% 0.169 -0.1495)
OKLCHoklch(69.15% 0.226 318.5)
XYZxyz(47.6945, 29.2055, 87.9015)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462F3 #81F362
analogous
#8B62F3 #D462F3 #F362CA
triadic
#D462F3 #F3D462 #62F3D4
tetradic
#D462F3 #F38B62 #81F362 #62CAF3
square
#D462F3 #F38B62 #81F362 #62CAF3
split-complementary
#D462F3 #CAF362 #62F38B
monochromatic
#A310CB #C429EF #D462F3 #E49BF7 #F3D4FC

Accessibility & contrast

On white

3.07
#D462F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#D462F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462F3
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462F3#FFFFFF#000000##000000
##D462F31.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8CF8
Deuteranopia (green-blind)
#6997EF
Tritanopia (blue-blind)
#D47AA2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d462f3;
/* rgb */ color: rgb(212, 98, 243);
/* oklch */ color: oklch(69.2% 0.226 318.5);
Tailwind
colors: {
  custom: {
    50: '#e495f8',
    500: '#d462f3',
    950: '#000000',
  },
}
SCSS
$custom: #d462f3;
$custom-light: #e495f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d462f3",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 287.172,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69151,
    "c": 0.22559,
    "h": 318.5
  },
  "luminance": 0.29203
}

Semantic roles & 50–950 ramp

primary
#D462F3
secondary
#CBF0C1
accent
#E20333
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D462F3

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

Preview Lab → · Contrast checker → · Palette generator →

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