#D162EA#D162EA

#D162EA is a light, highly saturated purple. Relative luminance 0.282; OKLCH L 68.3% C 0.216 H 319.9°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#D162EA
RGBrgb(209, 98, 234)
HSLhsl(289, 76%, 65%)
HSVhsv(289, 58%, 92%)
CMYKcmyk(10.7%, 58.1%, 0%, 8.2%)
CIE-LABlab(60.10, 63.16, -49.92)
CIE-LCHlch(60.10, 80.51, 321.67°)
OKLaboklab(68.29% 0.1652 -0.139)
OKLCHoklch(68.29% 0.216 319.9)
XYZxyz(45.5116, 28.2332, 80.8782)
Luminance0.2823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162EA #7BEA62
analogous
#8D62EA #D162EA #EA62BF
triadic
#D162EA #EAD162 #62EAD1
tetradic
#D162EA #EA8D62 #7BEA62 #62BFEA
square
#D162EA #EA8D62 #7BEA62 #62BFEA
split-complementary
#D162EA #BFEA62 #62EA8D
monochromatic
#9B19B9 #C12CE3 #D162EA #E198F1 #F1CEF8

Accessibility & contrast

On white

3.16
#D162EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#D162EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162EA
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162EA#FFFFFF#000000##000000
##D162EA1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4489EE
Deuteranopia (green-blind)
#6D95E6
Tritanopia (blue-blind)
#D2779D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d162ea;
/* rgb */ color: rgb(209, 98, 234);
/* oklch */ color: oklch(68.3% 0.216 319.9);
Tailwind
colors: {
  custom: {
    50: '#e294f1',
    500: '#d162ea',
    950: '#000000',
  },
}
SCSS
$custom: #d162ea;
$custom-light: #e294f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d162ea",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 288.971,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68287,
    "c": 0.2159,
    "h": 319.9
  },
  "luminance": 0.28231
}

Semantic roles & 50–950 ramp

primary
#D162EA
secondary
#C5EBBD
accent
#D90D32
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D162EA

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

Preview Lab → · Contrast checker → · Palette generator →

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