#D462F2#D462F2

#D462F2 is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 69.1% C 0.225 H 318.8°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#D462F2
RGBrgb(212, 98, 242)
HSLhsl(288, 85%, 67%)
HSVhsv(288, 60%, 95%)
CMYKcmyk(12.4%, 59.5%, 0%, 5.1%)
CIE-LABlab(60.91, 65.40, -53.06)
CIE-LCHlch(60.91, 84.22, 320.95°)
OKLaboklab(69.1% 0.169 -0.1481)
OKLCHoklch(69.1% 0.225 318.8)
XYZxyz(47.5439, 29.1452, 87.1084)
Luminance0.2914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462F2 #80F262
analogous
#8C62F2 #D462F2 #F262C8
triadic
#D462F2 #F2D462 #62F2D4
tetradic
#D462F2 #F28C62 #80F262 #62C8F2
square
#D462F2 #F28C62 #80F262 #62C8F2
split-complementary
#D462F2 #C8F262 #62F28C
monochromatic
#A311C9 #C529ED #D462F2 #E39BF7 #F3D3FB

Accessibility & contrast

On white

3.08
#D462F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#D462F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462F2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462F2#FFFFFF#000000##000000
##D462F21.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#6A97EE
Tritanopia (blue-blind)
#D47AA1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d462f2;
/* rgb */ color: rgb(212, 98, 242);
/* oklch */ color: oklch(69.1% 0.225 318.8);
Tailwind
colors: {
  custom: {
    50: '#e495f7',
    500: '#d462f2',
    950: '#000000',
  },
}
SCSS
$custom: #d462f2;
$custom-light: #e495f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d462f2",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 287.5,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69095,
    "c": 0.22467,
    "h": 318.8
  },
  "luminance": 0.29143
}

Semantic roles & 50–950 ramp

primary
#D462F2
secondary
#CAEFC1
accent
#E10432
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D462F2

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

Preview Lab → · Contrast checker → · Palette generator →

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