#7D16B3#7D16B3

#7D16B3 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.4% C 0.221 H 309.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7D16B3
RGBrgb(125, 22, 179)
HSLhsl(279, 78%, 39%)
HSVhsv(279, 88%, 70%)
CMYKcmyk(30.2%, 87.7%, 0%, 29.8%)
CIE-LABlab(34.37, 63.92, -60.26)
CIE-LCHlch(34.37, 87.85, 316.69°)
OKLaboklab(46.38% 0.1395 -0.1714)
OKLCHoklch(46.38% 0.221 309.1)
XYZxyz(16.8794, 8.1888, 43.3305)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D16B3 #4CB316
analogous
#2F16B3 #7D16B3 #B3169B
triadic
#7D16B3 #B37D16 #16B37D
tetradic
#7D16B3 #B32F16 #4CB316 #169BB3
square
#7D16B3 #B32F16 #4CB316 #169BB3
split-complementary
#7D16B3 #9BB316 #16B32F
monochromatic
#310946 #570F7C #7D16B3 #A122E4 #B859EB

Accessibility & contrast

On white

7.96
#7D16B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7D16B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D16B3
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D16B3#FFFFFF#000000##FFFFFF
##7D16B31.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#75446A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d16b3;
/* rgb */ color: rgb(125, 22, 179);
/* oklch */ color: oklch(46.4% 0.221 309.1);
Tailwind
colors: {
  custom: {
    50: '#a965cb',
    500: '#7d16b3',
    950: '#000000',
  },
}
SCSS
$custom: #7d16b3;
$custom-light: #a965cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d16b3",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 179
  },
  "hsl": {
    "h": 279.363,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46377,
    "c": 0.22099,
    "h": 309.1
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#7D16B3
secondary
#80CE57
accent
#F53376
background
#FAF6FC
surface
#F5EBF9
border
#CFC6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #7D16B3

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

Preview Lab → · Contrast checker → · Palette generator →

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