#7F16A1#7F16A1

#7F16A1 is a mid, highly saturated purple. Relative luminance 0.077; OKLCH L 45.2% C 0.206 H 315.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7F16A1
RGBrgb(127, 22, 161)
HSLhsl(285, 76%, 36%)
HSVhsv(285, 86%, 63%)
CMYKcmyk(21.1%, 86.3%, 0%, 36.9%)
CIE-LABlab(33.26, 60.66, -51.25)
CIE-LCHlch(33.26, 79.41, 319.81°)
OKLaboklab(45.23% 0.1471 -0.1448)
OKLCHoklch(45.23% 0.206 315.4)
XYZxyz(15.4713, 7.6597, 34.3748)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F16A1 #38A116
analogous
#3A16A1 #7F16A1 #A1167D
triadic
#7F16A1 #A17F16 #16A17F
tetradic
#7F16A1 #A13A16 #38A116 #167DA1
square
#7F16A1 #A13A16 #38A116 #167DA1
split-complementary
#7F16A1 #7DA116 #16A13A
monochromatic
#2A0735 #550F6B #7F16A1 #A91DD7 #C04BE6

Accessibility & contrast

On white

8.29
#7F16A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7F16A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F16A1
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F16A1#FFFFFF#000000##FFFFFF
##7F16A11.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#0C519E
Tritanopia (blue-blind)
#7C3B5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f16a1;
/* rgb */ color: rgb(127, 22, 161);
/* oklch */ color: oklch(45.2% 0.206 315.4);
Tailwind
colors: {
  custom: {
    50: '#a964be',
    500: '#7f16a1',
    950: '#000000',
  },
}
SCSS
$custom: #7f16a1;
$custom-light: #a964be;
$custom-dark: #000000;
JSON
{
  "hex": "#7f16a1",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 285.324,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45227,
    "c": 0.20647,
    "h": 315.4
  },
  "luminance": 0.07659
}

Semantic roles & 50–950 ramp

primary
#7F16A1
secondary
#69C84B
accent
#F33564
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7F16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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