#7C1B83#7C1B83

#7C1B83 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.176 H 325.0°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7C1B83
RGBrgb(124, 27, 131)
HSLhsl(296, 66%, 31%)
HSVhsv(296, 79%, 51%)
CMYKcmyk(5.3%, 79.4%, 0%, 48.6%)
CIE-LABlab(31.13, 53.13, -36.25)
CIE-LCHlch(31.13, 64.32, 325.69°)
OKLaboklab(42.97% 0.1445 -0.101)
OKLCHoklch(42.97% 0.176 325)
XYZxyz(12.8005, 6.7085, 22.0890)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B83 #22831B
analogous
#481B83 #7C1B83 #831B56
triadic
#7C1B83 #837C1B #1B837C
tetradic
#7C1B83 #83481B #22831B #1B5683
square
#7C1B83 #83481B #22831B #1B5683
split-complementary
#7C1B83 #56831B #1B8348
monochromatic
#1C061E #4C1150 #7C1B83 #AC25B6 #CE41D8

Accessibility & contrast

On white

8.97
#7C1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7C1B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1B83
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B83#FFFFFF#000000##FFFFFF
##7C1B831.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#324D81
Tritanopia (blue-blind)
#7F2F4F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c1b83;
/* rgb */ color: rgb(124, 27, 131);
/* oklch */ color: oklch(43.0% 0.176 325.0);
Tailwind
colors: {
  custom: {
    50: '#a564a7',
    500: '#7c1b83',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b83;
$custom-light: #a564a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b83",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 295.962,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42967,
    "c": 0.17635,
    "h": 325
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#7C1B83
secondary
#4BB643
accent
#E93F4A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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