#7C16A1#7C16A1

#7C16A1 is a dark, highly saturated purple. Relative luminance 0.074; OKLCH L 44.8% C 0.206 H 314.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7C16A1
RGBrgb(124, 22, 161)
HSLhsl(284, 76%, 36%)
HSVhsv(284, 86%, 63%)
CMYKcmyk(23%, 86.3%, 0%, 36.9%)
CIE-LABlab(32.77, 60.16, -52.07)
CIE-LCHlch(32.77, 79.56, 319.13°)
OKLaboklab(44.79% 0.1432 -0.1474)
OKLCHoklch(44.79% 0.206 314.2)
XYZxyz(15.0310, 7.4327, 34.3542)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C16A1 #3BA116
analogous
#3716A1 #7C16A1 #A11680
triadic
#7C16A1 #A17C16 #16A17C
tetradic
#7C16A1 #A13716 #3BA116 #1680A1
square
#7C16A1 #A13716 #3BA116 #1680A1
split-complementary
#7C16A1 #80A116 #16A137
monochromatic
#290735 #530F6B #7C16A1 #A51DD7 #BD4BE6

Accessibility & contrast

On white

8.45
#7C16A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7C16A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C16A1
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C16A1#FFFFFF#000000##FFFFFF
##7C16A11.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c16a1;
/* rgb */ color: rgb(124, 22, 161);
/* oklch */ color: oklch(44.8% 0.206 314.2);
Tailwind
colors: {
  custom: {
    50: '#a764be',
    500: '#7c16a1',
    950: '#000000',
  },
}
SCSS
$custom: #7c16a1;
$custom-light: #a764be;
$custom-dark: #000000;
JSON
{
  "hex": "#7c16a1",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 284.029,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44788,
    "c": 0.20551,
    "h": 314.2
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#7C16A1
secondary
#6CC84B
accent
#F33568
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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