#D162DB#D162DB

#D162DB is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.5% C 0.202 H 324.3°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#D162DB
RGBrgb(209, 98, 219)
HSLhsl(295, 63%, 62%)
HSVhsv(295, 55%, 86%)
CMYKcmyk(4.6%, 55.3%, 0%, 14.1%)
CIE-LABlab(59.35, 60.38, -42.71)
CIE-LCHlch(59.35, 73.96, 324.73°)
OKLaboklab(67.5% 0.1641 -0.1181)
OKLCHoklch(67.5% 0.202 324.3)
XYZxyz(43.4472, 27.4074, 70.0058)
Luminance0.2741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162DB #6CDB62
analogous
#9462DB #D162DB #DB62A9
triadic
#D162DB #DBD162 #62DBD1
tetradic
#D162DB #DB9462 #6CDB62 #62A9DB
square
#D162DB #DB9462 #6CDB62 #62A9DB
split-complementary
#D162DB #A9DB62 #62DB94
monochromatic
#94249E #C230D0 #D162DB #E094E6 #EEC6F2

Accessibility & contrast

On white

3.24
#D162DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#D162DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162DB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162DB#FFFFFF#000000##000000
##D162DB1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DF
Deuteranopia (green-blind)
#7594D8
Tritanopia (blue-blind)
#D57295
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d162db;
/* rgb */ color: rgb(209, 98, 219);
/* oklch */ color: oklch(67.5% 0.202 324.3);
Tailwind
colors: {
  custom: {
    50: '#e294e6',
    500: '#d162db',
    950: '#000000',
  },
}
SCSS
$custom: #d162db;
$custom-light: #e294e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d162db",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 295.041,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67497,
    "c": 0.20217,
    "h": 324.3
  },
  "luminance": 0.27405
}

Semantic roles & 50–950 ramp

primary
#D162DB
secondary
#BAE3B6
accent
#CA1B2A
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D162DB

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

Preview Lab → · Contrast checker → · Palette generator →

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