#D162F6#D162F6

#D162F6 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 69.0% C 0.227 H 316.8°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#D162F6
RGBrgb(209, 98, 246)
HSLhsl(285, 89%, 67%)
HSVhsv(285, 60%, 96%)
CMYKcmyk(15%, 60.2%, 0%, 3.5%)
CIE-LABlab(60.73, 65.46, -55.58)
CIE-LCHlch(60.73, 85.87, 319.67°)
OKLaboklab(68.96% 0.1656 -0.1555)
OKLCHoklch(68.96% 0.227 316.8)
XYZxyz(47.2943, 28.9463, 90.2668)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162F6 #87F662
analogous
#8762F6 #D162F6 #F662D1
triadic
#D162F6 #F6D162 #62F6D1
tetradic
#D162F6 #F68762 #87F662 #62D1F6
square
#D162F6 #F68762 #87F662 #62D1F6
split-complementary
#D162F6 #D1F662 #62F687
monochromatic
#A00CD2 #C028F3 #D162F6 #E29CF9 #F3D6FD

Accessibility & contrast

On white

3.09
#D162F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#D162F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162F6
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162F6#FFFFFF#000000##000000
##D162F61.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#368CFB
Deuteranopia (green-blind)
#6596F2
Tritanopia (blue-blind)
#CF7BA3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d162f6;
/* rgb */ color: rgb(209, 98, 246);
/* oklch */ color: oklch(69.0% 0.227 316.8);
Tailwind
colors: {
  custom: {
    50: '#e294fa',
    500: '#d162f6',
    950: '#000000',
  },
}
SCSS
$custom: #d162f6;
$custom-light: #e294fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d162f6",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 285,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68955,
    "c": 0.22714,
    "h": 316.8
  },
  "luminance": 0.28944
}

Semantic roles & 50–950 ramp

primary
#D162F6
secondary
#CEF1C3
accent
#E60039
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D162F6

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

Preview Lab → · Contrast checker → · Palette generator →

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