#7B1C8E#7B1C8E

#7B1C8E is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.184 H 320.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7B1C8E
RGBrgb(123, 28, 142)
HSLhsl(290, 67%, 33%)
HSVhsv(290, 80%, 56%)
CMYKcmyk(13.4%, 80.3%, 0%, 44.3%)
CIE-LABlab(31.80, 54.64, -42.03)
CIE-LCHlch(31.80, 68.93, 322.43°)
OKLaboklab(43.63% 0.1414 -0.118)
OKLCHoklch(43.63% 0.184 320.2)
XYZxyz(13.4655, 6.9952, 26.2269)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C8E #2F8E1C
analogous
#421C8E #7B1C8E #8E1C68
triadic
#7B1C8E #8E7B1C #1C8E7B
tetradic
#7B1C8E #8E421C #2F8E1C #1C688E
square
#7B1C8E #8E421C #2F8E1C #1C688E
split-complementary
#7B1C8E #688E1C #1C8E42
monochromatic
#220828 #4F125B #7B1C8E #A726C1 #C349DB

Accessibility & contrast

On white

8.75
#7B1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7B1C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1C8E
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C8E#FFFFFF#000000##FFFFFF
##7B1C8E1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#284E8C
Tritanopia (blue-blind)
#7B3555
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b1c8e;
/* rgb */ color: rgb(123, 28, 142);
/* oklch */ color: oklch(43.6% 0.184 320.2);
Tailwind
colors: {
  custom: {
    50: '#a565b0',
    500: '#7b1c8e',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c8e;
$custom-light: #a565b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c8e",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 290,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43634,
    "c": 0.18415,
    "h": 320.2
  },
  "luminance": 0.06994
}

Semantic roles & 50–950 ramp

primary
#7B1C8E
secondary
#5CBD49
accent
#EA3E5B
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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