#7C2184#7C2184

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

Color values

HEX#7C2184
RGBrgb(124, 33, 132)
HSLhsl(295, 60%, 32%)
HSVhsv(295, 75%, 52%)
CMYKcmyk(6.1%, 75%, 0%, 48.2%)
CIE-LABlab(31.90, 51.30, -35.66)
CIE-LCHlch(31.90, 62.47, 325.20°)
OKLaboklab(43.53% 0.1389 -0.0993)
OKLCHoklch(43.53% 0.171 324.4)
XYZxyz(13.0206, 7.0396, 22.4983)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2184 #298421
analogous
#4B2184 #7C2184 #84215A
triadic
#7C2184 #847C21 #21847C
tetradic
#7C2184 #844B21 #298421 #215A84
square
#7C2184 #844B21 #298421 #215A84
split-complementary
#7C2184 #5A8421 #21844B
monochromatic
#200922 #4E1553 #7C2184 #AA2DB5 #C84DD2

Accessibility & contrast

On white

8.72
#7C2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7C2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2184
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2184#FFFFFF#000000##FFFFFF
##7C21841.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#344F82
Tritanopia (blue-blind)
#7F3251
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2184;
/* rgb */ color: rgb(124, 33, 132);
/* oklch */ color: oklch(43.5% 0.171 324.4);
Tailwind
colors: {
  custom: {
    50: '#a566a8',
    500: '#7c2184',
    950: '#000000',
  },
}
SCSS
$custom: #7c2184;
$custom-light: #a566a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2184",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 295.152,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4353,
    "c": 0.1708,
    "h": 324.4
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#7C2184
secondary
#54B64B
accent
#E34551
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C2184

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

Preview Lab → · Contrast checker → · Palette generator →

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