#D162E5#D162E5

#D162E5 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.0% C 0.211 H 321.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#D162E5
RGBrgb(209, 98, 229)
HSLhsl(291, 72%, 64%)
HSVhsv(291, 57%, 90%)
CMYKcmyk(8.7%, 57.2%, 0%, 10.2%)
CIE-LABlab(59.84, 62.22, -47.54)
CIE-LCHlch(59.84, 78.30, 322.62°)
OKLaboklab(68.02% 0.1649 -0.1321)
OKLCHoklch(68.02% 0.211 321.3)
XYZxyz(44.8034, 27.9499, 77.1484)
Luminance0.2795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162E5 #76E562
analogous
#9062E5 #D162E5 #E562B8
triadic
#D162E5 #E5D162 #62E5D1
tetradic
#D162E5 #E59062 #76E562 #62B8E5
square
#D162E5 #E59062 #76E562 #62B8E5
split-complementary
#D162E5 #B8E562 #62E590
monochromatic
#991DB0 #C22DDC #D162E5 #E097EE #F0CBF6

Accessibility & contrast

On white

3.19
#D162E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#D162E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162E5
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162E5#FFFFFF#000000##000000
##D162E51.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4888E9
Deuteranopia (green-blind)
#7094E2
Tritanopia (blue-blind)
#D3759B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d162e5;
/* rgb */ color: rgb(209, 98, 229);
/* oklch */ color: oklch(68.0% 0.211 321.3);
Tailwind
colors: {
  custom: {
    50: '#e294ee',
    500: '#d162e5',
    950: '#000000',
  },
}
SCSS
$custom: #d162e5;
$custom-light: #e294ee;
$custom-dark: #000000;
JSON
{
  "hex": "#d162e5",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 290.84,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68018,
    "c": 0.21127,
    "h": 321.3
  },
  "luminance": 0.27948
}

Semantic roles & 50–950 ramp

primary
#D162E5
secondary
#C2E8BB
accent
#D4122F
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D162E5

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

Preview Lab → · Contrast checker → · Palette generator →

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