#7B2080#7B2080

#7B2080 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.168 H 325.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7B2080
RGBrgb(123, 32, 128)
HSLhsl(297, 60%, 31%)
HSVhsv(297, 75%, 50%)
CMYKcmyk(3.9%, 75%, 0%, 49.8%)
CIE-LABlab(31.35, 50.70, -34.03)
CIE-LCHlch(31.35, 61.06, 326.13°)
OKLaboklab(43.03% 0.1389 -0.0946)
OKLCHoklch(43.03% 0.168 325.7)
XYZxyz(12.5809, 6.8033, 21.0684)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2080 #258020
analogous
#4B2080 #7B2080 #802055
triadic
#7B2080 #807B20 #20807B
tetradic
#7B2080 #804B20 #258020 #205580
square
#7B2080 #804B20 #258020 #205580
split-complementary
#7B2080 #558020 #20804B
monochromatic
#1D081E #4C144F #7B2080 #AA2CB1 #CA49D1

Accessibility & contrast

On white

8.90
#7B2080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7B2080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2080
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2080#FFFFFF#000000##FFFFFF
##7B20801.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044383
Deuteranopia (green-blind)
#354E7E
Tritanopia (blue-blind)
#7E304E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b2080;
/* rgb */ color: rgb(123, 32, 128);
/* oklch */ color: oklch(43.0% 0.168 325.7);
Tailwind
colors: {
  custom: {
    50: '#a466a5',
    500: '#7b2080',
    950: '#000000',
  },
}
SCSS
$custom: #7b2080;
$custom-light: #a466a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2080",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 296.875,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43031,
    "c": 0.16806,
    "h": 325.7
  },
  "luminance": 0.06802
}

Semantic roles & 50–950 ramp

primary
#7B2080
secondary
#4FB349
accent
#E3454D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B2080

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

Preview Lab → · Contrast checker → · Palette generator →

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