#D162E3#D162E3

#D162E3 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 67.9% C 0.209 H 321.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#D162E3
RGBrgb(209, 98, 227)
HSLhsl(292, 70%, 64%)
HSVhsv(292, 57%, 89%)
CMYKcmyk(7.9%, 56.8%, 0%, 11%)
CIE-LABlab(59.74, 61.85, -46.58)
CIE-LCHlch(59.74, 77.42, 323.02°)
OKLaboklab(67.91% 0.1648 -0.1293)
OKLCHoklch(67.91% 0.209 321.9)
XYZxyz(44.5258, 27.8389, 75.6862)
Luminance0.2784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162E3 #74E362
analogous
#9062E3 #D162E3 #E362B4
triadic
#D162E3 #E3D162 #62E3D1
tetradic
#D162E3 #E39062 #74E362 #62B4E3
square
#D162E3 #E39062 #74E362 #62B4E3
split-complementary
#D162E3 #B4E362 #62E390
monochromatic
#981FAC #C22EDA #D162E3 #E096EC #EFCAF6

Accessibility & contrast

On white

3.20
#D162E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#D162E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162E3
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162E3#FFFFFF#000000##000000
##D162E31.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A88E7
Deuteranopia (green-blind)
#7194E0
Tritanopia (blue-blind)
#D3759A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d162e3;
/* rgb */ color: rgb(209, 98, 227);
/* oklch */ color: oklch(67.9% 0.209 321.9);
Tailwind
colors: {
  custom: {
    50: '#e294ec',
    500: '#d162e3',
    950: '#000000',
  },
}
SCSS
$custom: #d162e3;
$custom-light: #e294ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d162e3",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 227
  },
  "hsl": {
    "h": 291.628,
    "s": 69.73,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67912,
    "c": 0.20943,
    "h": 321.9
  },
  "luminance": 0.27837
}

Semantic roles & 50–950 ramp

primary
#D162E3
secondary
#C0E7BA
accent
#D2142E
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D162E3

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

Preview Lab → · Contrast checker → · Palette generator →

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