#D162CE#D162CE

#D162CE is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.9% C 0.191 H 328.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#D162CE
RGBrgb(209, 98, 206)
HSLhsl(302, 55%, 60%)
HSVhsv(302, 53%, 82%)
CMYKcmyk(0%, 53.1%, 1.4%, 18%)
CIE-LABlab(58.74, 58.08, -36.32)
CIE-LCHlch(58.74, 68.50, 327.98°)
OKLaboklab(66.85% 0.1626 -0.0997)
OKLCHoklch(66.85% 0.191 328.5)
XYZxyz(41.8022, 26.7494, 61.3419)
Luminance0.2675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162CE #62D165
analogous
#9D62D1 #D162CE #D16296
triadic
#D162CE #CED162 #62CED1
tetradic
#D162CE #D19D62 #62D165 #6296D1
square
#D162CE #D19D62 #62D165 #6296D1
split-complementary
#D162CE #96D162 #62D19D
monochromatic
#8F2A8C #BE38BA #D162CE #DF91DD #EDC1EC

Accessibility & contrast

On white

3.31
#D162CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#D162CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162CE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162CE#FFFFFF#000000##000000
##D162CE1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D1
Deuteranopia (green-blind)
#7B93CB
Tritanopia (blue-blind)
#D76E8F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d162ce;
/* rgb */ color: rgb(209, 98, 206);
/* oklch */ color: oklch(66.9% 0.191 328.5);
Tailwind
colors: {
  custom: {
    50: '#e294dd',
    500: '#d162ce',
    950: '#000000',
  },
}
SCSS
$custom: #d162ce;
$custom-light: #e294dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d162ce",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 301.622,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66852,
    "c": 0.19069,
    "h": 328.5
  },
  "luminance": 0.26747
}

Semantic roles & 50–950 ramp

primary
#D162CE
secondary
#B2DDB3
accent
#C22823
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D162CE

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

Preview Lab → · Contrast checker → · Palette generator →

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