#7C16A0#7C16A0

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

Color values

HEX#7C16A0
RGBrgb(124, 22, 160)
HSLhsl(284, 76%, 36%)
HSVhsv(284, 86%, 63%)
CMYKcmyk(22.5%, 86.3%, 0%, 37.3%)
CIE-LABlab(32.70, 59.97, -51.58)
CIE-LCHlch(32.70, 79.10, 319.30°)
OKLaboklab(44.71% 0.1435 -0.1459)
OKLCHoklch(44.71% 0.205 314.5)
XYZxyz(14.9432, 7.3975, 33.8916)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C16A0 #3AA016
analogous
#3716A0 #7C16A0 #A0167F
triadic
#7C16A0 #A07C16 #16A07C
tetradic
#7C16A0 #A03716 #3AA016 #167FA0
square
#7C16A0 #A03716 #3AA016 #167FA0
split-complementary
#7C16A0 #7FA016 #16A037
monochromatic
#290734 #520F6A #7C16A0 #A61DD6 #BD4AE6

Accessibility & contrast

On white

8.47
#7C16A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7C16A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C16A0
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C16A0#FFFFFF#000000##FFFFFF
##7C16A01.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#034F9D
Tritanopia (blue-blind)
#793B5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c16a0;
/* rgb */ color: rgb(124, 22, 160);
/* oklch */ color: oklch(44.7% 0.205 314.5);
Tailwind
colors: {
  custom: {
    50: '#a764bd',
    500: '#7c16a0',
    950: '#000000',
  },
}
SCSS
$custom: #7c16a0;
$custom-light: #a764bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c16a0",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 284.348,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4471,
    "c": 0.20468,
    "h": 314.5
  },
  "luminance": 0.07397
}

Semantic roles & 50–950 ramp

primary
#7C16A0
secondary
#6BC84A
accent
#F23567
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C16A0

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

Preview Lab → · Contrast checker → · Palette generator →

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