#7B16B3#7B16B3

#7B16B3 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 46.1% C 0.221 H 308.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7B16B3
RGBrgb(123, 22, 179)
HSLhsl(279, 78%, 39%)
HSVhsv(279, 88%, 70%)
CMYKcmyk(31.3%, 87.7%, 0%, 29.8%)
CIE-LABlab(34.07, 63.63, -60.77)
CIE-LCHlch(34.07, 87.99, 316.32°)
OKLaboklab(46.1% 0.1367 -0.173)
OKLCHoklch(46.1% 0.221 308.3)
XYZxyz(16.5903, 8.0397, 43.3169)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B16B3 #4EB316
analogous
#2D16B3 #7B16B3 #B3169C
triadic
#7B16B3 #B37B16 #16B37B
tetradic
#7B16B3 #B32D16 #4EB316 #169CB3
square
#7B16B3 #B32D16 #4EB316 #169CB3
split-complementary
#7B16B3 #9CB316 #16B32D
monochromatic
#300946 #560F7C #7B16B3 #9F22E4 #B759EB

Accessibility & contrast

On white

8.05
#7B16B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7B16B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B16B3
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B16B3#FFFFFF#000000##FFFFFF
##7B16B31.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b16b3;
/* rgb */ color: rgb(123, 22, 179);
/* oklch */ color: oklch(46.1% 0.221 308.3);
Tailwind
colors: {
  custom: {
    50: '#a765cb',
    500: '#7b16b3',
    950: '#000000',
  },
}
SCSS
$custom: #7b16b3;
$custom-light: #a765cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b16b3",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 179
  },
  "hsl": {
    "h": 278.599,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46103,
    "c": 0.2205,
    "h": 308.3
  },
  "luminance": 0.08039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B16B3

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

Preview Lab → · Contrast checker → · Palette generator →

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