#7B1E85#7B1E85

#7B1E85 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.174 H 323.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7B1E85
RGBrgb(123, 30, 133)
HSLhsl(294, 63%, 32%)
HSVhsv(294, 77%, 52%)
CMYKcmyk(7.5%, 77.4%, 0%, 47.8%)
CIE-LABlab(31.43, 52.31, -37.04)
CIE-LCHlch(31.43, 64.09, 324.69°)
OKLaboklab(43.18% 0.1406 -0.1034)
OKLCHoklch(43.18% 0.174 323.7)
XYZxyz(12.8659, 6.8338, 22.8271)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E85 #28851E
analogous
#481E85 #7B1E85 #851E5C
triadic
#7B1E85 #857B1E #1E857B
tetradic
#7B1E85 #85481E #28851E #1E5C85
square
#7B1E85 #85481E #28851E #1E5C85
split-complementary
#7B1E85 #5C851E #1E8548
monochromatic
#1F0721 #4D1353 #7B1E85 #A929B7 #C848D6

Accessibility & contrast

On white

8.87
#7B1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1E85
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E85#FFFFFF#000000##FFFFFF
##7B1E851.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#314E83
Tritanopia (blue-blind)
#7D3150
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b1e85;
/* rgb */ color: rgb(123, 30, 133);
/* oklch */ color: oklch(43.2% 0.174 323.7);
Tailwind
colors: {
  custom: {
    50: '#a565a9',
    500: '#7b1e85',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e85;
$custom-light: #a565a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e85",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 294.175,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43181,
    "c": 0.17449,
    "h": 323.7
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#7B1E85
secondary
#52B847
accent
#E64252
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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