#7C16B3#7C16B3

#7C16B3 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.2% C 0.221 H 308.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7C16B3
RGBrgb(124, 22, 179)
HSLhsl(279, 78%, 39%)
HSVhsv(279, 88%, 70%)
CMYKcmyk(30.7%, 87.7%, 0%, 29.8%)
CIE-LABlab(34.22, 63.78, -60.52)
CIE-LCHlch(34.22, 87.92, 316.50°)
OKLaboklab(46.24% 0.1381 -0.1722)
OKLCHoklch(46.24% 0.221 308.7)
XYZxyz(16.7341, 8.1139, 43.3237)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C16B3 #4DB316
analogous
#2E16B3 #7C16B3 #B3169C
triadic
#7C16B3 #B37C16 #16B37C
tetradic
#7C16B3 #B32E16 #4DB316 #169CB3
square
#7C16B3 #B32E16 #4DB316 #169CB3
split-complementary
#7C16B3 #9CB316 #16B32E
monochromatic
#300946 #560F7C #7C16B3 #A022E4 #B859EB

Accessibility & contrast

On white

8.01
#7C16B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7C16B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C16B3
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C16B3#FFFFFF#000000##FFFFFF
##7C16B31.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#73446A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c16b3;
/* rgb */ color: rgb(124, 22, 179);
/* oklch */ color: oklch(46.2% 0.221 308.7);
Tailwind
colors: {
  custom: {
    50: '#a865cb',
    500: '#7c16b3',
    950: '#000000',
  },
}
SCSS
$custom: #7c16b3;
$custom-light: #a865cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c16b3",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 179
  },
  "hsl": {
    "h": 278.981,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4624,
    "c": 0.22075,
    "h": 308.7
  },
  "luminance": 0.08114
}

Semantic roles & 50–950 ramp

primary
#7C16B3
secondary
#81CE57
accent
#F53377
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7C16B3

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

Preview Lab → · Contrast checker → · Palette generator →

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