#7D169E#7D169E

#7D169E is a dark, highly saturated purple. Relative luminance 0.074; OKLCH L 44.7% C 0.203 H 315.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7D169E
RGBrgb(125, 22, 158)
HSLhsl(285, 76%, 35%)
HSVhsv(285, 86%, 62%)
CMYKcmyk(20.9%, 86.1%, 0%, 38%)
CIE-LABlab(32.71, 59.74, -50.34)
CIE-LCHlch(32.71, 78.13, 319.88°)
OKLaboklab(44.7% 0.1453 -0.1423)
OKLCHoklch(44.7% 0.203 315.6)
XYZxyz(14.9149, 7.4030, 32.9844)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D169E #379E16
analogous
#39169E #7D169E #9E167B
triadic
#7D169E #9E7D16 #169E7D
tetradic
#7D169E #9E3916 #379E16 #167B9E
square
#7D169E #9E3916 #379E16 #167B9E
split-complementary
#7D169E #7B9E16 #169E39
monochromatic
#280733 #520F68 #7D169E #A71DD4 #C049E6

Accessibility & contrast

On white

8.47
#7D169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7D169E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D169E
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D169E#FFFFFF#000000##FFFFFF
##7D169E1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#0E4F9B
Tritanopia (blue-blind)
#7A3A5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d169e;
/* rgb */ color: rgb(125, 22, 158);
/* oklch */ color: oklch(44.7% 0.203 315.6);
Tailwind
colors: {
  custom: {
    50: '#a764bb',
    500: '#7d169e',
    950: '#000000',
  },
}
SCSS
$custom: #7d169e;
$custom-light: #a764bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d169e",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 285.441,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44703,
    "c": 0.20333,
    "h": 315.6
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#7D169E
secondary
#67C749
accent
#F23663
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7D169E

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

Preview Lab → · Contrast checker → · Palette generator →

#7D169E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva