#7B1C9F#7B1C9F

#7B1C9F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.9% C 0.199 H 314.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7B1C9F
RGBrgb(123, 28, 159)
HSLhsl(284, 70%, 37%)
HSVhsv(284, 82%, 62%)
CMYKcmyk(22.6%, 82.4%, 0%, 37.6%)
CIE-LABlab(33.02, 57.96, -50.46)
CIE-LCHlch(33.02, 76.85, 318.96°)
OKLaboklab(44.88% 0.1384 -0.1427)
OKLCHoklch(44.88% 0.199 314.1)
XYZxyz(14.8406, 7.5452, 33.4688)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C9F #409F1C
analogous
#391C9F #7B1C9F #9F1C82
triadic
#7B1C9F #9F7B1C #1C9F7B
tetradic
#7B1C9F #9F391C #409F1C #1C829F
square
#7B1C9F #9F391C #409F1C #1C829F
split-complementary
#7B1C9F #829F1C #1C9F39
monochromatic
#2A0A37 #53136B #7B1C9F #A325D3 #BA54E1

Accessibility & contrast

On white

8.37
#7B1C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7B1C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1C9F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C9F#FFFFFF#000000##FFFFFF
##7B1C9F1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#0C509C
Tritanopia (blue-blind)
#773D5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b1c9f;
/* rgb */ color: rgb(123, 28, 159);
/* oklch */ color: oklch(44.9% 0.199 314.1);
Tailwind
colors: {
  custom: {
    50: '#a666bc',
    500: '#7b1c9f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c9f;
$custom-light: #a666bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c9f",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 283.511,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44879,
    "c": 0.19881,
    "h": 314.1
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#7B1C9F
secondary
#72C453
accent
#ED3B6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7B1C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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