#D162CD#D162CD

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

Color values

HEX#D162CD
RGBrgb(209, 98, 205)
HSLhsl(302, 55%, 60%)
HSVhsv(302, 53%, 82%)
CMYKcmyk(0%, 53.1%, 1.9%, 18%)
CIE-LABlab(58.70, 57.90, -35.82)
CIE-LCHlch(58.70, 68.09, 328.26°)
OKLaboklab(66.8% 0.1624 -0.0983)
OKLCHoklch(66.8% 0.19 328.8)
XYZxyz(41.6811, 26.7010, 60.7042)
Luminance0.2670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162CD #62D166
analogous
#9D62D1 #D162CD #D16296
triadic
#D162CD #CDD162 #62CDD1
tetradic
#D162CD #D19D62 #62D166 #6296D1
square
#D162CD #D19D62 #62D166 #6296D1
split-complementary
#D162CD #96D162 #62D19D
monochromatic
#8F2A8B #BE38B9 #D162CD #DF91DC #EDC1EB

Accessibility & contrast

On white

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

On black

6.34
#D162CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162CD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162CD#FFFFFF#000000##000000
##D162CD1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D0
Deuteranopia (green-blind)
#7C93CA
Tritanopia (blue-blind)
#D76D8F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d162cd;
/* rgb */ color: rgb(209, 98, 205);
/* oklch */ color: oklch(66.8% 0.190 328.8);
Tailwind
colors: {
  custom: {
    50: '#e294dc',
    500: '#d162cd',
    950: '#000000',
  },
}
SCSS
$custom: #d162cd;
$custom-light: #e294dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d162cd",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 302.162,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66804,
    "c": 0.18984,
    "h": 328.8
  },
  "luminance": 0.26698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D162CD

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

Preview Lab → · Contrast checker → · Palette generator →

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