#7B1880#7B1880

#7B1880 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.176 H 325.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7B1880
RGBrgb(123, 24, 128)
HSLhsl(297, 68%, 30%)
HSVhsv(297, 81%, 50%)
CMYKcmyk(3.9%, 81.3%, 0%, 49.8%)
CIE-LABlab(30.46, 53.28, -35.46)
CIE-LCHlch(30.46, 64.01, 326.35°)
OKLaboklab(42.39% 0.1461 -0.0987)
OKLCHoklch(42.39% 0.176 325.9)
XYZxyz(12.3910, 6.4236, 21.0051)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1880 #1D8018
analogous
#471880 #7B1880 #801851
triadic
#7B1880 #807B18 #18807B
tetradic
#7B1880 #804718 #1D8018 #185180
square
#7B1880 #804718 #1D8018 #185180
split-complementary
#7B1880 #518018 #188047
monochromatic
#19051A #490E4C #7B1880 #AD22B4 #D239DA

Accessibility & contrast

On white

9.19
#7B1880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7B1880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1880
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1880#FFFFFF#000000##FFFFFF
##7B18801.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1880;
/* rgb */ color: rgb(123, 24, 128);
/* oklch */ color: oklch(42.4% 0.176 325.9);
Tailwind
colors: {
  custom: {
    50: '#a563a5',
    500: '#7b1880',
    950: '#000000',
  },
}
SCSS
$custom: #7b1880;
$custom-light: #a563a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1880",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 297.115,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42392,
    "c": 0.17632,
    "h": 325.9
  },
  "luminance": 0.06423
}

Semantic roles & 50–950 ramp

primary
#7B1880
secondary
#45B440
accent
#EB3D45
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B1880

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

Preview Lab → · Contrast checker → · Palette generator →

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