#D162FD#D162FD

#D162FD is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.4% C 0.234 H 315.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#D162FD
RGBrgb(209, 98, 253)
HSLhsl(283, 97%, 69%)
HSVhsv(283, 61%, 99%)
CMYKcmyk(17.4%, 61.3%, 0%, 0.8%)
CIE-LABlab(61.12, 66.83, -58.84)
CIE-LCHlch(61.12, 89.04, 318.64°)
OKLaboklab(69.36% 0.1656 -0.165)
OKLCHoklch(69.36% 0.234 315.1)
XYZxyz(48.3890, 29.3841, 96.0322)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162FD #8EFD62
analogous
#8462FD #D162FD #FD62DB
triadic
#D162FD #FDD162 #62FDD1
tetradic
#D162FD #FD8462 #8EFD62 #62DBFD
square
#D162FD #FD8462 #8EFD62 #62DBFD
split-complementary
#D162FD #DBFD62 #62FD84
monochromatic
#A203E2 #BF26FC #D162FD #E39EFE #F4DBFF

Accessibility & contrast

On white

3.05
#D162FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#D162FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162FD
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162FD#FFFFFF#000000##000000
##D162FD1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8DFF
Deuteranopia (green-blind)
#5F97F9
Tritanopia (blue-blind)
#CE7EA7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d162fd;
/* rgb */ color: rgb(209, 98, 253);
/* oklch */ color: oklch(69.4% 0.234 315.1);
Tailwind
colors: {
  custom: {
    50: '#e395ff',
    500: '#d162fd',
    950: '#000000',
  },
}
SCSS
$custom: #d162fd;
$custom-light: #e395ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d162fd",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 282.968,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69359,
    "c": 0.23378,
    "h": 315.1
  },
  "luminance": 0.29383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D162FD

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

Preview Lab → · Contrast checker → · Palette generator →

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