#7B1C8F#7B1C8F

#7B1C8F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.185 H 319.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7B1C8F
RGBrgb(123, 28, 143)
HSLhsl(290, 67%, 34%)
HSVhsv(290, 80%, 56%)
CMYKcmyk(14%, 80.4%, 0%, 43.9%)
CIE-LABlab(31.86, 54.83, -42.54)
CIE-LCHlch(31.86, 69.40, 322.19°)
OKLaboklab(43.7% 0.1412 -0.1195)
OKLCHoklch(43.7% 0.185 319.8)
XYZxyz(13.5409, 7.0253, 26.6241)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C8F #308F1C
analogous
#411C8F #7B1C8F #8F1C69
triadic
#7B1C8F #8F7B1C #1C8F7B
tetradic
#7B1C8F #8F411C #308F1C #1C698F
square
#7B1C8F #8F411C #308F1C #1C698F
split-complementary
#7B1C8F #698F1C #1C8F41
monochromatic
#230829 #4F125C #7B1C8F #A726C2 #C24ADC

Accessibility & contrast

On white

8.73
#7B1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7B1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1C8F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C8F#FFFFFF#000000##FFFFFF
##7B1C8F1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#274E8C
Tritanopia (blue-blind)
#7B3556
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b1c8f;
/* rgb */ color: rgb(123, 28, 143);
/* oklch */ color: oklch(43.7% 0.185 319.8);
Tailwind
colors: {
  custom: {
    50: '#a565b0',
    500: '#7b1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c8f;
$custom-light: #a565b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c8f",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 289.565,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43704,
    "c": 0.185,
    "h": 319.8
  },
  "luminance": 0.07025
}

Semantic roles & 50–950 ramp

primary
#7B1C8F
secondary
#5DBE49
accent
#EA3E5C
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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