#7C2B84#7C2B84

#7C2B84 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.158 H 324.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7C2B84
RGBrgb(124, 43, 132)
HSLhsl(295, 51%, 34%)
HSVhsv(295, 67%, 52%)
CMYKcmyk(6.1%, 67.4%, 0%, 48.2%)
CIE-LABlab(33.31, 47.32, -33.41)
CIE-LCHlch(33.31, 57.93, 324.77°)
OKLaboklab(44.54% 0.128 -0.0929)
OKLCHoklch(44.54% 0.158 324)
XYZxyz(13.3406, 7.6796, 22.6049)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2B84 #33842B
analogous
#502B84 #7C2B84 #842B60
triadic
#7C2B84 #847C2B #2B847C
tetradic
#7C2B84 #84502B #33842B #2B6084
square
#7C2B84 #84502B #33842B #2B6084
split-complementary
#7C2B84 #60842B #2B8450
monochromatic
#250D28 #511C56 #7C2B84 #A73AB2 #C15FCB

Accessibility & contrast

On white

8.28
#7C2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7C2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2B84
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2B84#FFFFFF#000000##FFFFFF
##7C2B841.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184887
Deuteranopia (green-blind)
#3A5282
Tritanopia (blue-blind)
#7E3954
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c2b84;
/* rgb */ color: rgb(124, 43, 132);
/* oklch */ color: oklch(44.5% 0.158 324.0);
Tailwind
colors: {
  custom: {
    50: '#a56ba8',
    500: '#7c2b84',
    950: '#000000',
  },
}
SCSS
$custom: #7c2b84;
$custom-light: #a56ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2b84",
  "rgb": {
    "r": 124,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 294.607,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44542,
    "c": 0.15813,
    "h": 324
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#7C2B84
secondary
#62B15A
accent
#DA4D5A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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