#7E169E#7E169E

#7E169E is a dark, highly saturated purple. Relative luminance 0.075; OKLCH L 44.9% C 0.204 H 316.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7E169E
RGBrgb(126, 22, 158)
HSLhsl(286, 76%, 35%)
HSVhsv(286, 86%, 62%)
CMYKcmyk(20.3%, 86.1%, 0%, 38%)
CIE-LABlab(32.87, 59.91, -50.07)
CIE-LCHlch(32.87, 78.08, 320.12°)
OKLaboklab(44.85% 0.1465 -0.1414)
OKLCHoklch(44.85% 0.204 316)
XYZxyz(15.0617, 7.4787, 32.9913)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E169E #369E16
analogous
#3A169E #7E169E #9E167A
triadic
#7E169E #9E7E16 #169E7E
tetradic
#7E169E #9E3A16 #369E16 #167A9E
square
#7E169E #9E3A16 #369E16 #167A9E
split-complementary
#7E169E #7A9E16 #169E3A
monochromatic
#280733 #530F68 #7E169E #A91DD4 #C149E6

Accessibility & contrast

On white

8.41
#7E169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7E169E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E169E
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E169E#FFFFFF#000000##FFFFFF
##7E169E1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#11509B
Tritanopia (blue-blind)
#7C395D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e169e;
/* rgb */ color: rgb(126, 22, 158);
/* oklch */ color: oklch(44.9% 0.204 316.0);
Tailwind
colors: {
  custom: {
    50: '#a864bb',
    500: '#7e169e',
    950: '#000000',
  },
}
SCSS
$custom: #7e169e;
$custom-light: #a864bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e169e",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 285.882,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44851,
    "c": 0.20366,
    "h": 316
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E169E

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

Preview Lab → · Contrast checker → · Palette generator →

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