#D162CC#D162CC

#D162CC is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.8% C 0.189 H 329.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#D162CC
RGBrgb(209, 98, 204)
HSLhsl(303, 55%, 60%)
HSVhsv(303, 53%, 82%)
CMYKcmyk(0%, 53.1%, 2.4%, 18%)
CIE-LABlab(58.65, 57.73, -35.32)
CIE-LCHlch(58.65, 67.68, 328.54°)
OKLaboklab(66.76% 0.1623 -0.0968)
OKLCHoklch(66.76% 0.189 329.2)
XYZxyz(41.5608, 26.6529, 60.0705)
Luminance0.2665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162CC #62D167
analogous
#9F62D1 #D162CC #D16294
triadic
#D162CC #CCD162 #62CCD1
tetradic
#D162CC #D19F62 #62D167 #6294D1
square
#D162CC #D19F62 #62D167 #6294D1
split-complementary
#D162CC #94D162 #62D19F
monochromatic
#8F2A8A #BE38B8 #D162CC #DF91DB #EDC1EB

Accessibility & contrast

On white

3.32
#D162CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#D162CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162CC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162CC#FFFFFF#000000##000000
##D162CC1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84CF
Deuteranopia (green-blind)
#7C92C9
Tritanopia (blue-blind)
#D86D8E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d162cc;
/* rgb */ color: rgb(209, 98, 204);
/* oklch */ color: oklch(66.8% 0.189 329.2);
Tailwind
colors: {
  custom: {
    50: '#e293dc',
    500: '#d162cc',
    950: '#000000',
  },
}
SCSS
$custom: #d162cc;
$custom-light: #e293dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d162cc",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 302.703,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66756,
    "c": 0.18898,
    "h": 329.2
  },
  "luminance": 0.2665
}

Semantic roles & 50–950 ramp

primary
#D162CC
secondary
#B2DDB4
accent
#C22A23
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D162CC

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

Preview Lab → · Contrast checker → · Palette generator →

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