#7E16A0#7E16A0

#7E16A0 is a mid, highly saturated purple. Relative luminance 0.075; OKLCH L 45.0% C 0.205 H 315.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7E16A0
RGBrgb(126, 22, 160)
HSLhsl(285, 76%, 36%)
HSVhsv(285, 86%, 63%)
CMYKcmyk(21.2%, 86.3%, 0%, 37.3%)
CIE-LABlab(33.02, 60.30, -51.04)
CIE-LCHlch(33.02, 79.00, 319.76°)
OKLaboklab(45% 0.1461 -0.1443)
OKLCHoklch(45% 0.205 315.4)
XYZxyz(15.2352, 7.5481, 33.9053)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E16A0 #38A016
analogous
#3916A0 #7E16A0 #A0167D
triadic
#7E16A0 #A07E16 #16A07E
tetradic
#7E16A0 #A03916 #38A016 #167DA0
square
#7E16A0 #A03916 #38A016 #167DA0
split-complementary
#7E16A0 #7DA016 #16A039
monochromatic
#290734 #540F6A #7E16A0 #A81DD6 #C04AE6

Accessibility & contrast

On white

8.37
#7E16A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E16A0
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E16A0#FFFFFF#000000##FFFFFF
##7E16A01.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e16a0;
/* rgb */ color: rgb(126, 22, 160);
/* oklch */ color: oklch(45.0% 0.205 315.4);
Tailwind
colors: {
  custom: {
    50: '#a864bd',
    500: '#7e16a0',
    950: '#000000',
  },
}
SCSS
$custom: #7e16a0;
$custom-light: #a864bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e16a0",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 285.217,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45003,
    "c": 0.20531,
    "h": 315.4
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#7E16A0
secondary
#69C84A
accent
#F23564
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7E16A0

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

Preview Lab → · Contrast checker → · Palette generator →

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