#7B1C85#7B1C85

#7B1C85 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.177 H 323.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7B1C85
RGBrgb(123, 28, 133)
HSLhsl(294, 65%, 32%)
HSVhsv(294, 79%, 52%)
CMYKcmyk(7.5%, 78.9%, 0%, 47.8%)
CIE-LABlab(31.20, 52.96, -37.41)
CIE-LCHlch(31.20, 64.84, 324.77°)
OKLaboklab(43.02% 0.1423 -0.1044)
OKLCHoklch(43.02% 0.177 323.7)
XYZxyz(12.8169, 6.7357, 22.8108)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C85 #26851C
analogous
#471C85 #7B1C85 #851C5B
triadic
#7B1C85 #857B1C #1C857B
tetradic
#7B1C85 #85471C #26851C #1C5B85
square
#7B1C85 #85471C #26851C #1C5B85
split-complementary
#7B1C85 #5B851C #1C8547
monochromatic
#1D0720 #4C1152 #7B1C85 #AA27B8 #CA44D8

Accessibility & contrast

On white

8.95
#7B1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1C85
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C85#FFFFFF#000000##FFFFFF
##7B1C851.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#304D83
Tritanopia (blue-blind)
#7D3050
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b1c85;
/* rgb */ color: rgb(123, 28, 133);
/* oklch */ color: oklch(43.0% 0.177 323.7);
Tailwind
colors: {
  custom: {
    50: '#a564a9',
    500: '#7b1c85',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c85;
$custom-light: #a564a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c85",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 294.286,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4302,
    "c": 0.17655,
    "h": 323.7
  },
  "luminance": 0.06735
}

Semantic roles & 50–950 ramp

primary
#7B1C85
secondary
#50B845
accent
#E84050
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1C85

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

Preview Lab → · Contrast checker → · Palette generator →

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