#7F169E#7F169E

#7F169E is a dark, highly saturated purple. Relative luminance 0.076; OKLCH L 45.0% C 0.204 H 316.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7F169E
RGBrgb(127, 22, 158)
HSLhsl(286, 76%, 35%)
HSVhsv(286, 86%, 62%)
CMYKcmyk(19.6%, 86.1%, 0%, 38%)
CIE-LABlab(33.04, 60.08, -49.79)
CIE-LCHlch(33.04, 78.03, 320.35°)
OKLaboklab(45% 0.1478 -0.1406)
OKLCHoklch(45% 0.204 316.4)
XYZxyz(15.2099, 7.5551, 32.9982)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F169E #359E16
analogous
#3B169E #7F169E #9E1679
triadic
#7F169E #9E7F16 #169E7F
tetradic
#7F169E #9E3B16 #359E16 #16799E
square
#7F169E #9E3B16 #359E16 #16799E
split-complementary
#7F169E #799E16 #169E3B
monochromatic
#290733 #540F68 #7F169E #AA1DD4 #C249E6

Accessibility & contrast

On white

8.36
#7F169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7F169E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F169E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F169E#FFFFFF#000000##FFFFFF
##7F169E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#14509B
Tritanopia (blue-blind)
#7D395D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f169e;
/* rgb */ color: rgb(127, 22, 158);
/* oklch */ color: oklch(45.0% 0.204 316.4);
Tailwind
colors: {
  custom: {
    50: '#a964bb',
    500: '#7f169e',
    950: '#000000',
  },
}
SCSS
$custom: #7f169e;
$custom-light: #a964bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f169e",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 286.324,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44999,
    "c": 0.20399,
    "h": 316.4
  },
  "luminance": 0.07554
}

Semantic roles & 50–950 ramp

primary
#7F169E
secondary
#66C749
accent
#F23661
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7F169E

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

Preview Lab → · Contrast checker → · Palette generator →

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