#7B19B4#7B19B4

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

Color values

HEX#7B19B4
RGBrgb(123, 25, 180)
HSLhsl(278, 76%, 40%)
HSVhsv(278, 86%, 71%)
CMYKcmyk(31.7%, 86.1%, 0%, 29.4%)
CIE-LABlab(34.40, 63.10, -60.82)
CIE-LCHlch(34.40, 87.64, 316.05°)
OKLaboklab(46.36% 0.1348 -0.1731)
OKLCHoklch(46.36% 0.219 307.9)
XYZxyz(16.7525, 8.2018, 43.8717)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B19B4 #52B419
analogous
#2D19B4 #7B19B4 #B419A0
triadic
#7B19B4 #B47B19 #19B47B
tetradic
#7B19B4 #B42D19 #52B419 #19A0B4
square
#7B19B4 #B42D19 #52B419 #19A0B4
split-complementary
#7B19B4 #A0B419 #19B42D
monochromatic
#320A49 #56127E #7B19B4 #9D29E1 #B65FE9

Accessibility & contrast

On white

7.95
#7B19B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B19B4
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B19B4#FFFFFF#000000##FFFFFF
##7B19B41.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#71466B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b19b4;
/* rgb */ color: rgb(123, 25, 180);
/* oklch */ color: oklch(46.4% 0.219 307.9);
Tailwind
colors: {
  custom: {
    50: '#a766cb',
    500: '#7b19b4',
    950: '#000000',
  },
}
SCSS
$custom: #7b19b4;
$custom-light: #a766cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b19b4",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 277.935,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46359,
    "c": 0.21941,
    "h": 307.9
  },
  "luminance": 0.08202
}

Semantic roles & 50–950 ramp

primary
#7B19B4
secondary
#85CD5C
accent
#F2367B
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B19B4

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

Preview Lab → · Contrast checker → · Palette generator →

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