#7C1F86#7C1F86

#7C1F86 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.175 H 323.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7C1F86
RGBrgb(124, 31, 134)
HSLhsl(294, 62%, 32%)
HSVhsv(294, 77%, 53%)
CMYKcmyk(7.5%, 76.9%, 0%, 47.5%)
CIE-LABlab(31.78, 52.37, -37.09)
CIE-LCHlch(31.78, 64.18, 324.69°)
OKLaboklab(43.49% 0.1407 -0.1035)
OKLCHoklch(43.49% 0.175 323.7)
XYZxyz(13.1049, 6.9871, 23.2080)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F86 #29861F
analogous
#491F86 #7C1F86 #861F5C
triadic
#7C1F86 #867C1F #1F867C
tetradic
#7C1F86 #86491F #29861F #1F5C86
square
#7C1F86 #86491F #29861F #1F5C86
split-complementary
#7C1F86 #5C861F #1F8649
monochromatic
#200823 #4E1454 #7C1F86 #AA2AB8 #C84AD5

Accessibility & contrast

On white

8.76
#7C1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1F86
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F86#FFFFFF#000000##FFFFFF
##7C1F861.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#324E84
Tritanopia (blue-blind)
#7E3251
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c1f86;
/* rgb */ color: rgb(124, 31, 134);
/* oklch */ color: oklch(43.5% 0.175 323.7);
Tailwind
colors: {
  custom: {
    50: '#a566aa',
    500: '#7c1f86',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f86;
$custom-light: #a566aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f86",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 294.175,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43486,
    "c": 0.17472,
    "h": 323.7
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#7C1F86
secondary
#54B849
accent
#E54252
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1F86

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

Preview Lab → · Contrast checker → · Palette generator →

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