#D162EF#D162EF

#D162EF is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.6% C 0.221 H 318.6°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#D162EF
RGBrgb(209, 98, 239)
HSLhsl(287, 82%, 66%)
HSVhsv(287, 59%, 94%)
CMYKcmyk(12.6%, 59%, 0%, 6.3%)
CIE-LABlab(60.36, 64.11, -52.29)
CIE-LCHlch(60.36, 82.73, 320.80°)
OKLaboklab(68.56% 0.1654 -0.1459)
OKLCHoklch(68.56% 0.221 318.6)
XYZxyz(46.2401, 28.5246, 84.7147)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162EF #80EF62
analogous
#8A62EF #D162EF #EF62C6
triadic
#D162EF #EFD162 #62EFD1
tetradic
#D162EF #EF8A62 #80EF62 #62C6EF
square
#D162EF #EF8A62 #80EF62 #62C6EF
split-complementary
#D162EF #C6EF62 #62EF8A
monochromatic
#9E14C3 #C12AE9 #D162EF #E19AF5 #F2D1FA

Accessibility & contrast

On white

3.13
#D162EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#D162EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162EF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162EF#FFFFFF#000000##000000
##D162EF1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8AF3
Deuteranopia (green-blind)
#6995EB
Tritanopia (blue-blind)
#D179A0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d162ef;
/* rgb */ color: rgb(209, 98, 239);
/* oklch */ color: oklch(68.6% 0.221 318.6);
Tailwind
colors: {
  custom: {
    50: '#e294f5',
    500: '#d162ef',
    950: '#000000',
  },
}
SCSS
$custom: #d162ef;
$custom-light: #e294f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d162ef",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 287.234,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68562,
    "c": 0.22057,
    "h": 318.6
  },
  "luminance": 0.28523
}

Semantic roles & 50–950 ramp

primary
#D162EF
secondary
#C9EEBF
accent
#DE0835
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D162EF

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

Preview Lab → · Contrast checker → · Palette generator →

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