#7B1E86#7B1E86

#7B1E86 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.175 H 323.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7B1E86
RGBrgb(123, 30, 134)
HSLhsl(294, 63%, 32%)
HSVhsv(294, 78%, 53%)
CMYKcmyk(8.2%, 77.6%, 0%, 47.5%)
CIE-LABlab(31.49, 52.49, -37.56)
CIE-LCHlch(31.49, 64.55, 324.41°)
OKLaboklab(43.25% 0.1405 -0.1049)
OKLCHoklch(43.25% 0.175 323.2)
XYZxyz(12.9353, 6.8615, 23.1927)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E86 #29861E
analogous
#471E86 #7B1E86 #861E5D
triadic
#7B1E86 #867B1E #1E867B
tetradic
#7B1E86 #86471E #29861E #1E5D86
square
#7B1E86 #86471E #29861E #1E5D86
split-complementary
#7B1E86 #5D861E #1E8647
monochromatic
#1F0822 #4D1354 #7B1E86 #A929B8 #C748D6

Accessibility & contrast

On white

8.85
#7B1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7B1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E86
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E86#FFFFFF#000000##FFFFFF
##7B1E861.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#304E84
Tritanopia (blue-blind)
#7D3251
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b1e86;
/* rgb */ color: rgb(123, 30, 134);
/* oklch */ color: oklch(43.2% 0.175 323.2);
Tailwind
colors: {
  custom: {
    50: '#a565aa',
    500: '#7b1e86',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e86;
$custom-light: #a565aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e86",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 293.654,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43248,
    "c": 0.17534,
    "h": 323.2
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#7B1E86
secondary
#53B847
accent
#E64153
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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