#7916B3#7916B3

#7916B3 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.8% C 0.220 H 307.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7916B3
RGBrgb(121, 22, 179)
HSLhsl(278, 78%, 39%)
HSVhsv(278, 88%, 70%)
CMYKcmyk(32.4%, 87.7%, 0%, 29.8%)
CIE-LABlab(33.76, 63.35, -61.29)
CIE-LCHlch(33.76, 88.14, 315.95°)
OKLaboklab(45.83% 0.134 -0.1745)
OKLCHoklch(45.83% 0.22 307.5)
XYZxyz(16.3070, 7.8937, 43.3037)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7916B3 #50B316
analogous
#2A16B3 #7916B3 #B3169F
triadic
#7916B3 #B37916 #16B379
tetradic
#7916B3 #B32A16 #50B316 #169FB3
square
#7916B3 #B32A16 #50B316 #169FB3
split-complementary
#7916B3 #9FB316 #16B32A
monochromatic
#2F0946 #540F7C #7916B3 #9C22E4 #B559EB

Accessibility & contrast

On white

8.14
#7916B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7916B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7916B3
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7916B3#FFFFFF#000000##FFFFFF
##7916B31.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#6F456A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7916b3;
/* rgb */ color: rgb(121, 22, 179);
/* oklch */ color: oklch(45.8% 0.220 307.5);
Tailwind
colors: {
  custom: {
    50: '#a665cb',
    500: '#7916b3',
    950: '#000000',
  },
}
SCSS
$custom: #7916b3;
$custom-light: #a665cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7916b3",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 179
  },
  "hsl": {
    "h": 277.834,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45831,
    "c": 0.22002,
    "h": 307.5
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#7916B3
secondary
#83CE57
accent
#F5337B
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7916B3

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

Preview Lab → · Contrast checker → · Palette generator →

#7916B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva