#D162F9#D162F9

#D162F9 is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 69.1% C 0.230 H 316.1°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#D162F9
RGBrgb(209, 98, 249)
HSLhsl(284, 93%, 68%)
HSVhsv(284, 61%, 98%)
CMYKcmyk(16.1%, 60.6%, 0%, 2.4%)
CIE-LABlab(60.90, 66.05, -56.98)
CIE-LCHlch(60.90, 87.23, 319.21°)
OKLaboklab(69.13% 0.1656 -0.1596)
OKLCHoklch(69.13% 0.23 316.1)
XYZxyz(47.7584, 29.1319, 92.7114)
Luminance0.2913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162F9 #8AF962
analogous
#8562F9 #D162F9 #F962D5
triadic
#D162F9 #F9D162 #62F9D1
tetradic
#D162F9 #F98562 #8AF962 #62D5F9
square
#D162F9 #F98562 #8AF962 #62D5F9
split-complementary
#D162F9 #D5F962 #62F985
monochromatic
#A108D8 #C027F7 #D162F9 #E29DFB #F4D8FE

Accessibility & contrast

On white

3.08
#D162F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#D162F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162F9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162F9#FFFFFF#000000##000000
##D162F91.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#328CFE
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#CF7DA5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d162f9;
/* rgb */ color: rgb(209, 98, 249);
/* oklch */ color: oklch(69.1% 0.230 316.1);
Tailwind
colors: {
  custom: {
    50: '#e294fc',
    500: '#d162f9',
    950: '#000000',
  },
}
SCSS
$custom: #d162f9;
$custom-light: #e294fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d162f9",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 249
  },
  "hsl": {
    "h": 284.106,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69127,
    "c": 0.22998,
    "h": 316.1
  },
  "luminance": 0.2913
}

Semantic roles & 50–950 ramp

primary
#D162F9
secondary
#D1F2C4
accent
#E6003D
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D162F9

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

Preview Lab → · Contrast checker → · Palette generator →

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