#7F16A0#7F16A0

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

Color values

HEX#7F16A0
RGBrgb(127, 22, 160)
HSLhsl(286, 76%, 36%)
HSVhsv(286, 86%, 63%)
CMYKcmyk(20.6%, 86.3%, 0%, 37.3%)
CIE-LABlab(33.19, 60.47, -50.76)
CIE-LCHlch(33.19, 78.95, 319.99°)
OKLaboklab(45.15% 0.1474 -0.1434)
OKLCHoklch(45.15% 0.206 315.8)
XYZxyz(15.3834, 7.6245, 33.9122)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F16A0 #37A016
analogous
#3A16A0 #7F16A0 #A0167C
triadic
#7F16A0 #A07F16 #16A07F
tetradic
#7F16A0 #A03A16 #37A016 #167CA0
square
#7F16A0 #A03A16 #37A016 #167CA0
split-complementary
#7F16A0 #7CA016 #16A03A
monochromatic
#2A0734 #540F6A #7F16A0 #AA1DD6 #C14AE6

Accessibility & contrast

On white

8.32
#7F16A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7F16A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F16A0
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F16A0#FFFFFF#000000##FFFFFF
##7F16A01.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#0F519D
Tritanopia (blue-blind)
#7C3A5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f16a0;
/* rgb */ color: rgb(127, 22, 160);
/* oklch */ color: oklch(45.2% 0.206 315.8);
Tailwind
colors: {
  custom: {
    50: '#a964bd',
    500: '#7f16a0',
    950: '#000000',
  },
}
SCSS
$custom: #7f16a0;
$custom-light: #a964bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f16a0",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 285.652,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45151,
    "c": 0.20564,
    "h": 315.8
  },
  "luminance": 0.07624
}

Semantic roles & 50–950 ramp

primary
#7F16A0
secondary
#68C84A
accent
#F23563
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7F16A0

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

Preview Lab → · Contrast checker → · Palette generator →

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