#7C1E85#7C1E85

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

Color values

HEX#7C1E85
RGBrgb(124, 30, 133)
HSLhsl(295, 63%, 32%)
HSVhsv(295, 77%, 52%)
CMYKcmyk(6.8%, 77.4%, 0%, 47.8%)
CIE-LABlab(31.60, 52.52, -36.76)
CIE-LCHlch(31.60, 64.11, 325.01°)
OKLaboklab(43.34% 0.1417 -0.1025)
OKLCHoklch(43.34% 0.175 324.1)
XYZxyz(13.0097, 6.9079, 22.8339)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E85 #27851E
analogous
#491E85 #7C1E85 #851E5B
triadic
#7C1E85 #857C1E #1E857C
tetradic
#7C1E85 #85491E #27851E #1E5B85
square
#7C1E85 #85491E #27851E #1E5B85
split-complementary
#7C1E85 #5B851E #1E8549
monochromatic
#1F0721 #4D1353 #7C1E85 #AB29B7 #C948D6

Accessibility & contrast

On white

8.82
#7C1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1E85
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E85#FFFFFF#000000##FFFFFF
##7C1E851.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1e85;
/* rgb */ color: rgb(124, 30, 133);
/* oklch */ color: oklch(43.3% 0.175 324.1);
Tailwind
colors: {
  custom: {
    50: '#a565a9',
    500: '#7c1e85',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e85;
$custom-light: #a565a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e85",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 294.757,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43336,
    "c": 0.17494,
    "h": 324.1
  },
  "luminance": 0.06907
}

Semantic roles & 50–950 ramp

primary
#7C1E85
secondary
#51B847
accent
#E64250
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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