#D162CA#D162CA

#D162CA is a light, vivid purple. Relative luminance 0.266; OKLCH L 66.7% C 0.187 H 329.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#D162CA
RGBrgb(209, 98, 202)
HSLhsl(304, 55%, 60%)
HSVhsv(304, 53%, 82%)
CMYKcmyk(0%, 53.1%, 3.3%, 18%)
CIE-LABlab(58.56, 57.39, -34.33)
CIE-LCHlch(58.56, 66.87, 329.12°)
OKLaboklab(66.66% 0.162 -0.094)
OKLCHoklch(66.66% 0.187 329.9)
XYZxyz(41.3225, 26.5575, 58.8153)
Luminance0.2656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162CA #62D169
analogous
#A162D1 #D162CA #D16292
triadic
#D162CA #CAD162 #62CAD1
tetradic
#D162CA #D1A162 #62D169 #6292D1
square
#D162CA #D1A162 #62D169 #6292D1
split-complementary
#D162CA #92D162 #62D1A1
monochromatic
#8F2A88 #BE38B6 #D162CA #DF91DA #EDC1EA

Accessibility & contrast

On white

3.33
#D162CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#D162CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162CA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162CA#FFFFFF#000000##000000
##D162CA1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#7D92C7
Tritanopia (blue-blind)
#D86C8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d162ca;
/* rgb */ color: rgb(209, 98, 202);
/* oklch */ color: oklch(66.7% 0.187 329.9);
Tailwind
colors: {
  custom: {
    50: '#e293da',
    500: '#d162ca',
    950: '#000000',
  },
}
SCSS
$custom: #d162ca;
$custom-light: #e293da;
$custom-dark: #000000;
JSON
{
  "hex": "#d162ca",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 303.784,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66662,
    "c": 0.18728,
    "h": 329.9
  },
  "luminance": 0.26555
}

Semantic roles & 50–950 ramp

primary
#D162CA
secondary
#B2DDB5
accent
#C22D23
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D162CA

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

Preview Lab → · Contrast checker → · Palette generator →

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