#D162F1#D162F1

#D162F1 is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 68.7% C 0.222 H 318.1°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#D162F1
RGBrgb(209, 98, 241)
HSLhsl(287, 84%, 66%)
HSVhsv(287, 59%, 95%)
CMYKcmyk(13.3%, 59.3%, 0%, 5.5%)
CIE-LABlab(60.47, 64.49, -53.24)
CIE-LCHlch(60.47, 83.63, 320.46°)
OKLaboklab(68.67% 0.1655 -0.1487)
OKLCHoklch(68.67% 0.222 318.1)
XYZxyz(46.5372, 28.6434, 86.2794)
Luminance0.2864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162F1 #82F162
analogous
#8A62F1 #D162F1 #F162CA
triadic
#D162F1 #F1D162 #62F1D1
tetradic
#D162F1 #F18A62 #82F162 #62CAF1
square
#D162F1 #F18A62 #82F162 #62CAF1
split-complementary
#D162F1 #CAF162 #62F18A
monochromatic
#9E12C7 #C12AEC #D162F1 #E19AF6 #F2D2FB

Accessibility & contrast

On white

3.12
#D162F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#D162F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162F1
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162F1#FFFFFF#000000##000000
##D162F11.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF5
Deuteranopia (green-blind)
#6895ED
Tritanopia (blue-blind)
#D07AA1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d162f1;
/* rgb */ color: rgb(209, 98, 241);
/* oklch */ color: oklch(68.7% 0.222 318.1);
Tailwind
colors: {
  custom: {
    50: '#e294f6',
    500: '#d162f1',
    950: '#000000',
  },
}
SCSS
$custom: #d162f1;
$custom-light: #e294f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d162f1",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 286.573,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68673,
    "c": 0.22244,
    "h": 318.1
  },
  "luminance": 0.28642
}

Semantic roles & 50–950 ramp

primary
#D162F1
secondary
#CBEFC0
accent
#E00536
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D162F1

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

Preview Lab → · Contrast checker → · Palette generator →

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