#7C2E84#7C2E84

#7C2E84 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.154 H 323.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7C2E84
RGBrgb(124, 46, 132)
HSLhsl(294, 48%, 35%)
HSVhsv(294, 65%, 52%)
CMYKcmyk(6.1%, 65.2%, 0%, 48.2%)
CIE-LABlab(33.79, 45.98, -32.65)
CIE-LCHlch(33.79, 56.40, 324.62°)
OKLaboklab(44.89% 0.1243 -0.0907)
OKLCHoklch(44.89% 0.154 323.9)
XYZxyz(13.4537, 7.9058, 22.6427)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2E84 #36842E
analogous
#512E84 #7C2E84 #842E61
triadic
#7C2E84 #847C2E #2E847C
tetradic
#7C2E84 #84512E #36842E #2E6184
square
#7C2E84 #84512E #36842E #2E6184
split-complementary
#7C2E84 #61842E #2E8451
monochromatic
#270E29 #511E57 #7C2E84 #A73EB1 #BF64C9

Accessibility & contrast

On white

8.14
#7C2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7C2E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2E84
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2E84#FFFFFF#000000##FFFFFF
##7C2E841.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4987
Deuteranopia (green-blind)
#3C5382
Tritanopia (blue-blind)
#7E3B55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c2e84;
/* rgb */ color: rgb(124, 46, 132);
/* oklch */ color: oklch(44.9% 0.154 323.9);
Tailwind
colors: {
  custom: {
    50: '#a56da8',
    500: '#7c2e84',
    950: '#000000',
  },
}
SCSS
$custom: #7c2e84;
$custom-light: #a56da8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2e84",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 294.419,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44888,
    "c": 0.15387,
    "h": 323.9
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#7C2E84
secondary
#66B05E
accent
#D8505D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7C2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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