#D162F5#D162F5

#D162F5 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 68.9% C 0.226 H 317.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#D162F5
RGBrgb(209, 98, 245)
HSLhsl(285, 88%, 67%)
HSVhsv(285, 60%, 96%)
CMYKcmyk(14.7%, 60%, 0%, 3.9%)
CIE-LABlab(60.68, 65.27, -55.11)
CIE-LCHlch(60.68, 85.42, 319.82°)
OKLaboklab(68.9% 0.1655 -0.1542)
OKLCHoklch(68.9% 0.226 317)
XYZxyz(47.1412, 28.8850, 89.4607)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162F5 #86F562
analogous
#8862F5 #D162F5 #F562D0
triadic
#D162F5 #F5D162 #62F5D1
tetradic
#D162F5 #F58862 #86F562 #62D0F5
square
#D162F5 #F58862 #86F562 #62D0F5
split-complementary
#D162F5 #D0F562 #62F588
monochromatic
#A00DCF #C028F1 #D162F5 #E29CF9 #F3D5FC

Accessibility & contrast

On white

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

On black

6.78
#D162F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162F5
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162F5#FFFFFF#000000##000000
##D162F51.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#378BFA
Deuteranopia (green-blind)
#6596F1
Tritanopia (blue-blind)
#D07BA3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d162f5;
/* rgb */ color: rgb(209, 98, 245);
/* oklch */ color: oklch(68.9% 0.226 317.0);
Tailwind
colors: {
  custom: {
    50: '#e294f9',
    500: '#d162f5',
    950: '#000000',
  },
}
SCSS
$custom: #d162f5;
$custom-light: #e294f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d162f5",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 285.306,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68898,
    "c": 0.22621,
    "h": 317
  },
  "luminance": 0.28883
}

Semantic roles & 50–950 ramp

primary
#D162F5
secondary
#CEF1C2
accent
#E50139
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D162F5

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

Preview Lab → · Contrast checker → · Palette generator →

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