#D162EE#D162EE

#D162EE is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.5% C 0.220 H 318.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#D162EE
RGBrgb(209, 98, 238)
HSLhsl(288, 80%, 66%)
HSVhsv(288, 59%, 93%)
CMYKcmyk(12.2%, 58.8%, 0%, 6.7%)
CIE-LABlab(60.31, 63.92, -51.82)
CIE-LCHlch(60.31, 82.29, 320.97°)
OKLaboklab(68.51% 0.1654 -0.1446)
OKLCHoklch(68.51% 0.22 318.8)
XYZxyz(46.0928, 28.4656, 83.9388)
Luminance0.2846 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162EE #7FEE62
analogous
#8B62EE #D162EE #EE62C5
triadic
#D162EE #EED162 #62EED1
tetradic
#D162EE #EE8B62 #7FEE62 #62C5EE
square
#D162EE #EE8B62 #7FEE62 #62C5EE
split-complementary
#D162EE #C5EE62 #62EE8B
monochromatic
#9D15C1 #C12BE8 #D162EE #E199F4 #F1D0FA

Accessibility & contrast

On white

3.14
#D162EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#D162EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162EE
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162EE#FFFFFF#000000##000000
##D162EE1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF2
Deuteranopia (green-blind)
#6A95EA
Tritanopia (blue-blind)
#D1799F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d162ee;
/* rgb */ color: rgb(209, 98, 238);
/* oklch */ color: oklch(68.5% 0.220 318.8);
Tailwind
colors: {
  custom: {
    50: '#e294f4',
    500: '#d162ee',
    950: '#000000',
  },
}
SCSS
$custom: #d162ee;
$custom-light: #e294f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d162ee",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 287.571,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68507,
    "c": 0.21963,
    "h": 318.8
  },
  "luminance": 0.28464
}

Semantic roles & 50–950 ramp

primary
#D162EE
secondary
#C8EDBF
accent
#DD0935
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D162EE

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

Preview Lab → · Contrast checker → · Palette generator →

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