#D162FE#D162FE

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

Color values

HEX#D162FE
RGBrgb(209, 98, 254)
HSLhsl(283, 99%, 69%)
HSVhsv(283, 61%, 100%)
CMYKcmyk(17.7%, 61.4%, 0%, 0.4%)
CIE-LABlab(61.17, 67.03, -59.30)
CIE-LCHlch(61.17, 89.50, 318.50°)
OKLaboklab(69.42% 0.1656 -0.1664)
OKLCHoklch(69.42% 0.235 314.9)
XYZxyz(48.5487, 29.4480, 96.8734)
Luminance0.2945 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162FE #8FFE62
analogous
#8362FE #D162FE #FE62DD
triadic
#D162FE #FED162 #62FED1
tetradic
#D162FE #FE8362 #8FFE62 #62DDFE
square
#D162FE #FE8362 #8FFE62 #62DDFE
split-complementary
#D162FE #DDFE62 #62FE83
monochromatic
#A301E4 #BF25FE #D162FE #E39FFE #F5DCFF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D162FE#FFFFFF#000000##000000
##D162FE1.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)
#298DFF
Deuteranopia (green-blind)
#5F97FA
Tritanopia (blue-blind)
#CE7EA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d162fe;
/* rgb */ color: rgb(209, 98, 254);
/* oklch */ color: oklch(69.4% 0.235 314.9);
Tailwind
colors: {
  custom: {
    50: '#e395ff',
    500: '#d162fe',
    950: '#000000',
  },
}
SCSS
$custom: #d162fe;
$custom-light: #e395ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d162fe",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 282.692,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69417,
    "c": 0.23473,
    "h": 314.9
  },
  "luminance": 0.29446
}

Semantic roles & 50–950 ramp

primary
#D162FE
secondary
#D4F5C7
accent
#E60042
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D162FE

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

Preview Lab → · Contrast checker → · Palette generator →

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