#D162F4#D162F4

#D162F4 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.8% C 0.225 H 317.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#D162F4
RGBrgb(209, 98, 244)
HSLhsl(286, 87%, 67%)
HSVhsv(286, 60%, 96%)
CMYKcmyk(14.3%, 59.8%, 0%, 4.3%)
CIE-LABlab(60.63, 65.07, -54.65)
CIE-LCHlch(60.63, 84.97, 319.98°)
OKLaboklab(68.84% 0.1655 -0.1528)
OKLCHoklch(68.84% 0.225 317.3)
XYZxyz(46.9890, 28.8241, 88.6588)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162F4 #85F462
analogous
#8862F4 #D162F4 #F462CE
triadic
#D162F4 #F4D162 #62F4D1
tetradic
#D162F4 #F48862 #85F462 #62CEF4
square
#D162F4 #F48862 #85F462 #62CEF4
split-complementary
#D162F4 #CEF462 #62F488
monochromatic
#9F0ECD #C029F0 #D162F4 #E29BF8 #F3D4FC

Accessibility & contrast

On white

3.10
#D162F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#D162F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162F4
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162F4#FFFFFF#000000##000000
##D162F41.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#398BF9
Deuteranopia (green-blind)
#6696F0
Tritanopia (blue-blind)
#D07BA2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d162f4;
/* rgb */ color: rgb(209, 98, 244);
/* oklch */ color: oklch(68.8% 0.225 317.3);
Tailwind
colors: {
  custom: {
    50: '#e294f8',
    500: '#d162f4',
    950: '#000000',
  },
}
SCSS
$custom: #d162f4;
$custom-light: #e294f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d162f4",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 285.616,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68842,
    "c": 0.22526,
    "h": 317.3
  },
  "luminance": 0.28822
}

Semantic roles & 50–950 ramp

primary
#D162F4
secondary
#CDF0C2
accent
#E30238
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D162F4

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

Preview Lab → · Contrast checker → · Palette generator →

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