#7B19B3#7B19B3

#7B19B3 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.3% C 0.219 H 308.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7B19B3
RGBrgb(123, 25, 179)
HSLhsl(278, 75%, 40%)
HSVhsv(278, 86%, 70%)
CMYKcmyk(31.3%, 86%, 0%, 29.8%)
CIE-LABlab(34.32, 62.89, -60.36)
CIE-LCHlch(34.32, 87.17, 316.17°)
OKLaboklab(46.28% 0.1351 -0.1718)
OKLCHoklch(46.28% 0.219 308.2)
XYZxyz(16.6510, 8.1612, 43.3372)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B19B3 #51B319
analogous
#2E19B3 #7B19B3 #B3199E
triadic
#7B19B3 #B37B19 #19B37B
tetradic
#7B19B3 #B32E19 #51B319 #199EB3
square
#7B19B3 #B32E19 #51B319 #199EB3
split-complementary
#7B19B3 #9EB319 #19B32E
monochromatic
#310A48 #56127D #7B19B3 #9E28E1 #B65EE8

Accessibility & contrast

On white

7.98
#7B19B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7B19B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B19B3
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B19B3#FFFFFF#000000##FFFFFF
##7B19B31.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b19b3;
/* rgb */ color: rgb(123, 25, 179);
/* oklch */ color: oklch(46.3% 0.219 308.2);
Tailwind
colors: {
  custom: {
    50: '#a766cb',
    500: '#7b19b3',
    950: '#000000',
  },
}
SCSS
$custom: #7b19b3;
$custom-light: #a766cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b19b3",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 179
  },
  "hsl": {
    "h": 278.182,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.46276,
    "c": 0.21854,
    "h": 308.2
  },
  "luminance": 0.08161
}

Semantic roles & 50–950 ramp

primary
#7B19B3
secondary
#84CC5B
accent
#F2367A
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B19B3

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

Preview Lab → · Contrast checker → · Palette generator →

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