#D462FB#D462FB

#D462FB is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.6% C 0.233 H 316.5°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#D462FB
RGBrgb(212, 98, 251)
HSLhsl(285, 95%, 68%)
HSVhsv(285, 61%, 98%)
CMYKcmyk(15.5%, 61%, 0%, 1.6%)
CIE-LABlab(61.39, 67.13, -57.27)
CIE-LCHlch(61.39, 88.24, 319.53°)
OKLaboklab(69.6% 0.1691 -0.1604)
OKLCHoklch(69.6% 0.233 316.5)
XYZxyz(48.9290, 29.6993, 94.4032)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462FB #89FB62
analogous
#8762FB #D462FB #FB62D5
triadic
#D462FB #FBD462 #62FBD4
tetradic
#D462FB #FB8762 #89FB62 #62D5FB
square
#D462FB #FB8762 #89FB62 #62D5FB
split-complementary
#D462FB #D5FB62 #62FB87
monochromatic
#A606DD #C426F9 #D462FB #E49EFD #F5D9FE

Accessibility & contrast

On white

3.03
#D462FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#D462FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462FB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462FB#FFFFFF#000000##000000
##D462FB1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#318DFF
Deuteranopia (green-blind)
#6498F7
Tritanopia (blue-blind)
#D27DA6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d462fb;
/* rgb */ color: rgb(212, 98, 251);
/* oklch */ color: oklch(69.6% 0.233 316.5);
Tailwind
colors: {
  custom: {
    50: '#e595fd',
    500: '#d462fb',
    950: '#000000',
  },
}
SCSS
$custom: #d462fb;
$custom-light: #e595fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d462fb",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 284.706,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69603,
    "c": 0.23307,
    "h": 316.5
  },
  "luminance": 0.29697
}

Semantic roles & 50–950 ramp

primary
#D462FB
secondary
#D1F3C5
accent
#E6003A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D462FB

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

Preview Lab → · Contrast checker → · Palette generator →

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