#D162DC#D162DC

#D162DC is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.5% C 0.203 H 324.0°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#D162DC
RGBrgb(209, 98, 220)
HSLhsl(295, 64%, 62%)
HSVhsv(295, 55%, 86%)
CMYKcmyk(5%, 55.5%, 0%, 13.7%)
CIE-LABlab(59.40, 60.56, -43.19)
CIE-LCHlch(59.40, 74.39, 324.50°)
OKLaboklab(67.55% 0.1642 -0.1195)
OKLCHoklch(67.55% 0.203 324)
XYZxyz(43.5793, 27.4603, 70.7012)
Luminance0.2746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162DC #6DDC62
analogous
#9462DC #D162DC #DC62AA
triadic
#D162DC #DCD162 #62DCD1
tetradic
#D162DC #DC9462 #6DDC62 #62AADC
square
#D162DC #DC9462 #6DDC62 #62AADC
split-complementary
#D162DC #AADC62 #62DC94
monochromatic
#9524A0 #C230D1 #D162DC #E094E7 #EEC6F2

Accessibility & contrast

On white

3.23
#D162DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#D162DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162DC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162DC#FFFFFF#000000##000000
##D162DC1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86E0
Deuteranopia (green-blind)
#7494D9
Tritanopia (blue-blind)
#D57296
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d162dc;
/* rgb */ color: rgb(209, 98, 220);
/* oklch */ color: oklch(67.5% 0.203 324.0);
Tailwind
colors: {
  custom: {
    50: '#e294e7',
    500: '#d162dc',
    950: '#000000',
  },
}
SCSS
$custom: #d162dc;
$custom-light: #e294e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d162dc",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 294.59,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67548,
    "c": 0.20306,
    "h": 324
  },
  "luminance": 0.27458
}

Semantic roles & 50–950 ramp

primary
#D162DC
secondary
#BBE3B7
accent
#CB1A2A
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D162DC

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

Preview Lab → · Contrast checker → · Palette generator →

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