#7B1A89#7B1A89

#7B1A89 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.182 H 322.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7B1A89
RGBrgb(123, 26, 137)
HSLhsl(292, 68%, 32%)
HSVhsv(292, 81%, 54%)
CMYKcmyk(10.2%, 81%, 0%, 46.3%)
CIE-LABlab(31.25, 54.31, -39.82)
CIE-LCHlch(31.25, 67.35, 323.75°)
OKLaboklab(43.14% 0.1436 -0.1115)
OKLCHoklch(43.14% 0.182 322.2)
XYZxyz(13.0527, 6.7567, 24.2787)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A89 #28891A
analogous
#431A89 #7B1A89 #891A60
triadic
#7B1A89 #897B1A #1A897B
tetradic
#7B1A89 #89431A #28891A #1A6089
square
#7B1A89 #89431A #28891A #1A6089
split-complementary
#7B1A89 #60891A #1A8943
monochromatic
#1F0622 #4D1056 #7B1A89 #A924BC #C842DB

Accessibility & contrast

On white

8.93
#7B1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7B1A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A89
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A89#FFFFFF#000000##FFFFFF
##7B1A891.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#2B4D87
Tritanopia (blue-blind)
#7C3152
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b1a89;
/* rgb */ color: rgb(123, 26, 137);
/* oklch */ color: oklch(43.1% 0.182 322.2);
Tailwind
colors: {
  custom: {
    50: '#a564ac',
    500: '#7b1a89',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a89;
$custom-light: #a564ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a89",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 292.432,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43138,
    "c": 0.18182,
    "h": 322.2
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#7B1A89
secondary
#52BC43
accent
#EB3D53
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1A89

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

Preview Lab → · Contrast checker → · Palette generator →

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