#D161ED#D161ED

#D161ED is a light, highly saturated purple. Relative luminance 0.282; OKLCH L 68.3% C 0.220 H 319.2°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#D161ED
RGBrgb(209, 97, 237)
HSLhsl(288, 80%, 65%)
HSVhsv(288, 59%, 93%)
CMYKcmyk(11.8%, 59.1%, 0%, 7.1%)
CIE-LABlab(60.09, 64.18, -51.61)
CIE-LCHlch(60.09, 82.36, 321.19°)
OKLaboklab(68.33% 0.1665 -0.1439)
OKLCHoklch(68.33% 0.22 319.2)
XYZxyz(45.8533, 28.2211, 83.1362)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161ED #7DED61
analogous
#8B61ED #D161ED #ED61C3
triadic
#D161ED #EDD161 #61EDD1
tetradic
#D161ED #ED8B61 #7DED61 #61C3ED
square
#D161ED #ED8B61 #7DED61 #61C3ED
split-complementary
#D161ED #C3ED61 #61ED8B
monochromatic
#9C16BE #C12AE7 #D161ED #E198F3 #F1CFFA

Accessibility & contrast

On white

3.16
#D161ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#D161ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161ED
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161ED#FFFFFF#000000##000000
##D161ED1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F1
Deuteranopia (green-blind)
#6A95E9
Tritanopia (blue-blind)
#D1789E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d161ed;
/* rgb */ color: rgb(209, 97, 237);
/* oklch */ color: oklch(68.3% 0.220 319.2);
Tailwind
colors: {
  custom: {
    50: '#e294f3',
    500: '#d161ed',
    950: '#000000',
  },
}
SCSS
$custom: #d161ed;
$custom-light: #e294f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d161ed",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 237
  },
  "hsl": {
    "h": 288,
    "s": 79.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6833,
    "c": 0.22011,
    "h": 319.2
  },
  "luminance": 0.28219
}

Semantic roles & 50–950 ramp

primary
#D161ED
secondary
#C7ECBD
accent
#DC0A34
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D161ED

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

Preview Lab → · Contrast checker → · Palette generator →

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