#D162DE#D162DE

#D162DE is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 67.7% C 0.205 H 323.3°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#D162DE
RGBrgb(209, 98, 222)
HSLhsl(294, 65%, 63%)
HSVhsv(294, 56%, 87%)
CMYKcmyk(5.9%, 55.9%, 0%, 12.9%)
CIE-LABlab(59.50, 60.93, -44.16)
CIE-LCHlch(59.50, 75.25, 324.06°)
OKLaboklab(67.65% 0.1644 -0.1223)
OKLCHoklch(67.65% 0.205 323.3)
XYZxyz(43.8457, 27.5668, 72.1045)
Luminance0.2757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162DE #6FDE62
analogous
#9362DE #D162DE #DE62AD
triadic
#D162DE #DED162 #62DED1
tetradic
#D162DE #DE9362 #6FDE62 #62ADDE
square
#D162DE #DE9362 #6FDE62 #62ADDE
split-complementary
#D162DE #ADDE62 #62DE93
monochromatic
#9622A3 #C22FD3 #D162DE #E095E9 #EFC7F3

Accessibility & contrast

On white

3.22
#D162DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#D162DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162DE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162DE#FFFFFF#000000##000000
##D162DE1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E87E2
Deuteranopia (green-blind)
#7394DB
Tritanopia (blue-blind)
#D47397
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d162de;
/* rgb */ color: rgb(209, 98, 222);
/* oklch */ color: oklch(67.7% 0.205 323.3);
Tailwind
colors: {
  custom: {
    50: '#e294e9',
    500: '#d162de',
    950: '#000000',
  },
}
SCSS
$custom: #d162de;
$custom-light: #e294e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d162de",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 293.71,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67651,
    "c": 0.20488,
    "h": 323.3
  },
  "luminance": 0.27565
}

Semantic roles & 50–950 ramp

primary
#D162DE
secondary
#BCE4B7
accent
#CD182B
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D162DE

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

Preview Lab → · Contrast checker → · Palette generator →

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