#7B16B4#7B16B4

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

Color values

HEX#7B16B4
RGBrgb(123, 22, 180)
HSLhsl(278, 78%, 40%)
HSVhsv(278, 88%, 71%)
CMYKcmyk(31.7%, 87.8%, 0%, 29.4%)
CIE-LABlab(34.15, 63.84, -61.23)
CIE-LCHlch(34.15, 88.46, 316.19°)
OKLaboklab(46.19% 0.1364 -0.1743)
OKLCHoklch(46.19% 0.221 308)
XYZxyz(16.6918, 8.0803, 43.8515)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B16B4 #4FB416
analogous
#2C16B4 #7B16B4 #B4169E
triadic
#7B16B4 #B47B16 #16B47B
tetradic
#7B16B4 #B42C16 #4FB416 #169EB4
square
#7B16B4 #B42C16 #4FB416 #169EB4
split-complementary
#7B16B4 #9EB416 #16B42C
monochromatic
#300947 #560F7D #7B16B4 #9E23E4 #B65AEB

Accessibility & contrast

On white

8.03
#7B16B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B16B4
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B16B4#FFFFFF#000000##FFFFFF
##7B16B41.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#71456A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b16b4;
/* rgb */ color: rgb(123, 22, 180);
/* oklch */ color: oklch(46.2% 0.221 308.0);
Tailwind
colors: {
  custom: {
    50: '#a765cb',
    500: '#7b16b4',
    950: '#000000',
  },
}
SCSS
$custom: #7b16b4;
$custom-light: #a765cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b16b4",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 278.354,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46187,
    "c": 0.22136,
    "h": 308
  },
  "luminance": 0.0808
}

Semantic roles & 50–950 ramp

primary
#7B16B4
secondary
#82CE58
accent
#F53379
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7B16B4

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

Preview Lab → · Contrast checker → · Palette generator →

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