#7B1F85#7B1F85

#7B1F85 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.173 H 323.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7B1F85
RGBrgb(123, 31, 133)
HSLhsl(294, 62%, 32%)
HSVhsv(294, 77%, 52%)
CMYKcmyk(7.5%, 76.7%, 0%, 47.8%)
CIE-LABlab(31.54, 51.97, -36.85)
CIE-LCHlch(31.54, 63.71, 324.66°)
OKLaboklab(43.27% 0.1396 -0.1028)
OKLCHoklch(43.27% 0.173 323.6)
XYZxyz(12.8916, 6.8852, 22.8357)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F85 #29851F
analogous
#481F85 #7B1F85 #851F5C
triadic
#7B1F85 #857B1F #1F857B
tetradic
#7B1F85 #85481F #29851F #1F5C85
square
#7B1F85 #85481F #29851F #1F5C85
split-complementary
#7B1F85 #5C851F #1F8548
monochromatic
#1F0822 #4D1353 #7B1F85 #A92BB7 #C74AD5

Accessibility & contrast

On white

8.84
#7B1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7B1F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1F85
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F85#FFFFFF#000000##FFFFFF
##7B1F851.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1f85;
/* rgb */ color: rgb(123, 31, 133);
/* oklch */ color: oklch(43.3% 0.173 323.6);
Tailwind
colors: {
  custom: {
    50: '#a565a9',
    500: '#7b1f85',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f85;
$custom-light: #a565a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f85",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 294.118,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43266,
    "c": 0.17341,
    "h": 323.6
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#7B1F85
secondary
#53B749
accent
#E54352
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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