#7B16A1#7B16A1

#7B16A1 is a dark, highly saturated purple. Relative luminance 0.074; OKLCH L 44.6% C 0.205 H 313.8°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7B16A1
RGBrgb(123, 22, 161)
HSLhsl(284, 76%, 36%)
HSVhsv(284, 86%, 63%)
CMYKcmyk(23.6%, 86.3%, 0%, 36.9%)
CIE-LABlab(32.61, 60.00, -52.34)
CIE-LCHlch(32.61, 79.62, 318.90°)
OKLaboklab(44.64% 0.1419 -0.1482)
OKLCHoklch(44.64% 0.205 313.8)
XYZxyz(14.8872, 7.3585, 34.3474)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B16A1 #3CA116
analogous
#3516A1 #7B16A1 #A11681
triadic
#7B16A1 #A17B16 #16A17B
tetradic
#7B16A1 #A13516 #3CA116 #1681A1
square
#7B16A1 #A13516 #3CA116 #1681A1
split-complementary
#7B16A1 #81A116 #16A135
monochromatic
#290735 #520F6B #7B16A1 #A41DD7 #BC4BE6

Accessibility & contrast

On white

8.50
#7B16A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7B16A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B16A1
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B16A1#FFFFFF#000000##FFFFFF
##7B16A11.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#773C5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b16a1;
/* rgb */ color: rgb(123, 22, 161);
/* oklch */ color: oklch(44.6% 0.205 313.8);
Tailwind
colors: {
  custom: {
    50: '#a664be',
    500: '#7b16a1',
    950: '#000000',
  },
}
SCSS
$custom: #7b16a1;
$custom-light: #a664be;
$custom-dark: #000000;
JSON
{
  "hex": "#7b16a1",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 283.597,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44642,
    "c": 0.20521,
    "h": 313.8
  },
  "luminance": 0.07358
}

Semantic roles & 50–950 ramp

primary
#7B16A1
secondary
#6DC84B
accent
#F33569
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7B16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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