#7C1E89#7C1E89

#7C1E89 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.178 H 322.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7C1E89
RGBrgb(124, 30, 137)
HSLhsl(293, 64%, 33%)
HSVhsv(293, 78%, 54%)
CMYKcmyk(9.5%, 78.1%, 0%, 46.3%)
CIE-LABlab(31.85, 53.26, -38.84)
CIE-LCHlch(31.85, 65.92, 323.90°)
OKLaboklab(43.6% 0.1414 -0.1086)
OKLCHoklch(43.6% 0.178 322.5)
XYZxyz(13.2914, 7.0206, 24.3171)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E89 #2B891E
analogous
#461E89 #7C1E89 #891E61
triadic
#7C1E89 #897C1E #1E897C
tetradic
#7C1E89 #89461E #2B891E #1E6189
square
#7C1E89 #89461E #2B891E #1E6189
split-complementary
#7C1E89 #61891E #1E8946
monochromatic
#210825 #4F1357 #7C1E89 #A929BB #C64AD7

Accessibility & contrast

On white

8.74
#7C1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1E89
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E89#FFFFFF#000000##FFFFFF
##7C1E891.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#2F4E87
Tritanopia (blue-blind)
#7E3353
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c1e89;
/* rgb */ color: rgb(124, 30, 137);
/* oklch */ color: oklch(43.6% 0.178 322.5);
Tailwind
colors: {
  custom: {
    50: '#a565ac',
    500: '#7c1e89',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e89;
$custom-light: #a565ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e89",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 292.71,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43602,
    "c": 0.17832,
    "h": 322.5
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#7C1E89
secondary
#57BA49
accent
#E74155
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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