#D162FF#D162FF

#D162FF is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.5% C 0.236 H 314.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#D162FF
RGBrgb(209, 98, 255)
HSLhsl(282, 100%, 69%)
HSVhsv(282, 62%, 100%)
CMYKcmyk(18%, 61.6%, 0%, 0%)
CIE-LABlab(61.23, 67.23, -59.76)
CIE-LCHlch(61.23, 89.95, 318.37°)
OKLaboklab(69.48% 0.1656 -0.1677)
OKLCHoklch(69.48% 0.236 314.6)
XYZxyz(48.7092, 29.5122, 97.7189)
Luminance0.2951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162FF #90FF62
analogous
#8362FF #D162FF #FF62DF
triadic
#D162FF #FFD162 #62FFD1
tetradic
#D162FF #FF8362 #90FF62 #62DFFF
square
#D162FF #FF8362 #90FF62 #62DFFF
split-complementary
#D162FF #DFFF62 #62FF83
monochromatic
#A300E7 #BF25FF #D162FF #E39FFF #F5DCFF

Accessibility & contrast

On white

3.04
#D162FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#D162FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162FF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162FF#FFFFFF#000000##000000
##D162FF1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#288DFF
Deuteranopia (green-blind)
#5E97FB
Tritanopia (blue-blind)
#CD7FA8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d162ff;
/* rgb */ color: rgb(209, 98, 255);
/* oklch */ color: oklch(69.5% 0.236 314.6);
Tailwind
colors: {
  custom: {
    50: '#e395ff',
    500: '#d162ff',
    950: '#000000',
  },
}
SCSS
$custom: #d162ff;
$custom-light: #e395ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d162ff",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 282.42,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69476,
    "c": 0.23568,
    "h": 314.6
  },
  "luminance": 0.29511
}

Semantic roles & 50–950 ramp

primary
#D162FF
secondary
#D5F5C8
accent
#E60043
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D162FF

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

Preview Lab → · Contrast checker → · Palette generator →

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