#D162E6#D162E6

#D162E6 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.1% C 0.212 H 321.0°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#D162E6
RGBrgb(209, 98, 230)
HSLhsl(290, 73%, 64%)
HSVhsv(290, 57%, 90%)
CMYKcmyk(9.1%, 57.4%, 0%, 9.8%)
CIE-LABlab(59.89, 62.41, -48.01)
CIE-LCHlch(59.89, 78.74, 322.43°)
OKLaboklab(68.07% 0.165 -0.1335)
OKLCHoklch(68.07% 0.212 321)
XYZxyz(44.9435, 28.0059, 77.8859)
Luminance0.2800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162E6 #77E662
analogous
#8F62E6 #D162E6 #E662B9
triadic
#D162E6 #E6D162 #62E6D1
tetradic
#D162E6 #E68F62 #77E662 #62B9E6
square
#D162E6 #E68F62 #77E662 #62B9E6
split-complementary
#D162E6 #B9E662 #62E68F
monochromatic
#9A1CB1 #C22DDE #D162E6 #E097EE #F0CCF7

Accessibility & contrast

On white

3.18
#D162E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#D162E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162E6
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162E6#FFFFFF#000000##000000
##D162E61.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4788EA
Deuteranopia (green-blind)
#6F94E3
Tritanopia (blue-blind)
#D3769B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d162e6;
/* rgb */ color: rgb(209, 98, 230);
/* oklch */ color: oklch(68.1% 0.212 321.0);
Tailwind
colors: {
  custom: {
    50: '#e294ee',
    500: '#d162e6',
    950: '#000000',
  },
}
SCSS
$custom: #d162e6;
$custom-light: #e294ee;
$custom-dark: #000000;
JSON
{
  "hex": "#d162e6",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 230
  },
  "hsl": {
    "h": 290.455,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68072,
    "c": 0.21219,
    "h": 321
  },
  "luminance": 0.28004
}

Semantic roles & 50–950 ramp

primary
#D162E6
secondary
#C2E9BB
accent
#D51130
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D162E6

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

Preview Lab → · Contrast checker → · Palette generator →

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