#7B1980#7B1980

#7B1980 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.175 H 325.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#7B1980
RGBrgb(123, 25, 128)
HSLhsl(297, 67%, 30%)
HSVhsv(297, 80%, 50%)
CMYKcmyk(3.9%, 80.5%, 0%, 49.8%)
CIE-LABlab(30.56, 52.99, -35.30)
CIE-LCHlch(30.56, 63.67, 326.33°)
OKLaboklab(42.46% 0.1453 -0.0983)
OKLCHoklch(42.46% 0.175 325.9)
XYZxyz(12.4120, 6.4656, 21.0121)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1980 #1E8019
analogous
#471980 #7B1980 #801952
triadic
#7B1980 #807B19 #19807B
tetradic
#7B1980 #804719 #1E8019 #195280
square
#7B1980 #804719 #1E8019 #195280
split-complementary
#7B1980 #528019 #198047
monochromatic
#19051A #4A0F4D #7B1980 #AC23B3 #D13BD9

Accessibility & contrast

On white

9.16
#7B1980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7B1980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1980
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1980#FFFFFF#000000##FFFFFF
##7B19801.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#324C7E
Tritanopia (blue-blind)
#7E2C4D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b1980;
/* rgb */ color: rgb(123, 25, 128);
/* oklch */ color: oklch(42.5% 0.175 325.9);
Tailwind
colors: {
  custom: {
    50: '#a563a5',
    500: '#7b1980',
    950: '#000000',
  },
}
SCSS
$custom: #7b1980;
$custom-light: #a563a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1980",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 297.087,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.42463,
    "c": 0.17538,
    "h": 325.9
  },
  "luminance": 0.06465
}

Semantic roles & 50–950 ramp

primary
#7B1980
secondary
#46B441
accent
#EA3E46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B1980

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

Preview Lab → · Contrast checker → · Palette generator →

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