#D462F7#D462F7

#D462F7 is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.4% C 0.229 H 317.5°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#D462F7
RGBrgb(212, 98, 247)
HSLhsl(286, 90%, 68%)
HSVhsv(286, 60%, 97%)
CMYKcmyk(14.2%, 60.3%, 0%, 3.1%)
CIE-LABlab(61.18, 66.36, -55.41)
CIE-LCHlch(61.18, 86.45, 320.14°)
OKLaboklab(69.38% 0.1691 -0.1549)
OKLCHoklch(69.38% 0.229 317.5)
XYZxyz(48.3052, 29.4497, 91.1175)
Luminance0.2945 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462F7 #85F762
analogous
#8962F7 #D462F7 #F762D0
triadic
#D462F7 #F7D462 #62F7D4
tetradic
#D462F7 #F78962 #85F762 #62D0F7
square
#D462F7 #F78962 #85F762 #62D0F7
split-complementary
#D462F7 #D0F762 #62F789
monochromatic
#A50BD4 #C428F4 #D462F7 #E49CFA #F4D6FD

Accessibility & contrast

On white

3.05
#D462F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#D462F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462F7
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462F7#FFFFFF#000000##000000
##D462F71.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#378CFC
Deuteranopia (green-blind)
#6797F3
Tritanopia (blue-blind)
#D37BA4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d462f7;
/* rgb */ color: rgb(212, 98, 247);
/* oklch */ color: oklch(69.4% 0.229 317.5);
Tailwind
colors: {
  custom: {
    50: '#e595fa',
    500: '#d462f7',
    950: '#000000',
  },
}
SCSS
$custom: #d462f7;
$custom-light: #e595fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d462f7",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 285.906,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69375,
    "c": 0.22932,
    "h": 317.5
  },
  "luminance": 0.29448
}

Semantic roles & 50–950 ramp

primary
#D462F7
secondary
#CEF2C3
accent
#E60036
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D462F7

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

Preview Lab → · Contrast checker → · Palette generator →

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