#D161E7#D161E7

#D161E7 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.0% C 0.215 H 320.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#D161E7
RGBrgb(209, 97, 231)
HSLhsl(290, 74%, 64%)
HSVhsv(290, 58%, 91%)
CMYKcmyk(9.5%, 58%, 0%, 9.4%)
CIE-LABlab(59.78, 63.05, -48.76)
CIE-LCHlch(59.78, 79.70, 322.28°)
OKLaboklab(68% 0.1662 -0.1356)
OKLCHoklch(68% 0.215 320.8)
XYZxyz(44.9913, 27.8763, 78.5966)
Luminance0.2787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161E7 #77E761
analogous
#8E61E7 #D161E7 #E761BA
triadic
#D161E7 #E7D161 #61E7D1
tetradic
#D161E7 #E78E61 #77E761 #61BAE7
square
#D161E7 #E78E61 #77E761 #61BAE7
split-complementary
#D161E7 #BAE761 #61E78E
monochromatic
#9A1BB2 #C22CDF #D161E7 #E096EF #F0CBF7

Accessibility & contrast

On white

3.19
#D161E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#D161E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161E7
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161E7#FFFFFF#000000##000000
##D161E71.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4588EB
Deuteranopia (green-blind)
#6E94E3
Tritanopia (blue-blind)
#D3759B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d161e7;
/* rgb */ color: rgb(209, 97, 231);
/* oklch */ color: oklch(68.0% 0.215 320.8);
Tailwind
colors: {
  custom: {
    50: '#e293ef',
    500: '#d161e7',
    950: '#000000',
  },
}
SCSS
$custom: #d161e7;
$custom-light: #e293ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d161e7",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 290.149,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68003,
    "c": 0.21456,
    "h": 320.8
  },
  "luminance": 0.27874
}

Semantic roles & 50–950 ramp

primary
#D161E7
secondary
#C2E9BB
accent
#D61030
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D161E7

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

Preview Lab → · Contrast checker → · Palette generator →

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