#D162FC#D162FC

#D162FC is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.3% C 0.233 H 315.3°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#D162FC
RGBrgb(209, 98, 252)
HSLhsl(283, 96%, 69%)
HSVhsv(283, 61%, 99%)
CMYKcmyk(17.1%, 61.1%, 0%, 1.2%)
CIE-LABlab(61.06, 66.64, -58.37)
CIE-LCHlch(61.06, 88.59, 318.78°)
OKLaboklab(69.3% 0.1656 -0.1637)
OKLCHoklch(69.3% 0.233 315.3)
XYZxyz(48.2301, 29.3206, 95.1954)
Luminance0.2932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162FC #8DFC62
analogous
#8462FC #D162FC #FC62DA
triadic
#D162FC #FCD162 #62FCD1
tetradic
#D162FC #FC8462 #8DFC62 #62DAFC
square
#D162FC #FC8462 #8DFC62 #62DAFC
split-complementary
#D162FC #DAFC62 #62FC84
monochromatic
#A204DF #BF26FB #D162FC #E39EFD #F4DAFE

Accessibility & contrast

On white

3.06
#D162FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#D162FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162FC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162FC#FFFFFF#000000##000000
##D162FC1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8DFF
Deuteranopia (green-blind)
#6096F8
Tritanopia (blue-blind)
#CE7EA6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d162fc;
/* rgb */ color: rgb(209, 98, 252);
/* oklch */ color: oklch(69.3% 0.233 315.3);
Tailwind
colors: {
  custom: {
    50: '#e395fe',
    500: '#d162fc',
    950: '#000000',
  },
}
SCSS
$custom: #d162fc;
$custom-light: #e395fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d162fc",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 283.247,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.693,
    "c": 0.23283,
    "h": 315.3
  },
  "luminance": 0.29319
}

Semantic roles & 50–950 ramp

primary
#D162FC
secondary
#D3F4C6
accent
#E60040
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D162FC

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

Preview Lab → · Contrast checker → · Palette generator →

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