#7C2182#7C2182

#7C2182 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.169 H 325.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7C2182
RGBrgb(124, 33, 130)
HSLhsl(296, 60%, 32%)
HSVhsv(296, 75%, 51%)
CMYKcmyk(4.6%, 74.6%, 0%, 49%)
CIE-LABlab(31.77, 50.93, -34.61)
CIE-LCHlch(31.77, 61.58, 325.81°)
OKLaboklab(43.4% 0.139 -0.0963)
OKLCHoklch(43.4% 0.169 325.3)
XYZxyz(12.8850, 6.9853, 21.7844)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2182 #278221
analogous
#4C2182 #7C2182 #822158
triadic
#7C2182 #827C21 #21827C
tetradic
#7C2182 #824C21 #278221 #215882
square
#7C2182 #824C21 #278221 #215882
split-complementary
#7C2182 #588221 #21824C
monochromatic
#1F0820 #4D1551 #7C2182 #AB2DB3 #C94CD2

Accessibility & contrast

On white

8.76
#7C2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2182
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2182#FFFFFF#000000##FFFFFF
##7C21821.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034485
Deuteranopia (green-blind)
#354F80
Tritanopia (blue-blind)
#7F3150
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2182;
/* rgb */ color: rgb(124, 33, 130);
/* oklch */ color: oklch(43.4% 0.169 325.3);
Tailwind
colors: {
  custom: {
    50: '#a566a7',
    500: '#7c2182',
    950: '#000000',
  },
}
SCSS
$custom: #7c2182;
$custom-light: #a566a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2182",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 296.289,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43403,
    "c": 0.16909,
    "h": 325.3
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#7C2182
secondary
#51B44A
accent
#E3454F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C2182

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

Preview Lab → · Contrast checker → · Palette generator →

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