#7C2082#7C2082

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

Color values

HEX#7C2082
RGBrgb(124, 32, 130)
HSLhsl(296, 60%, 32%)
HSVhsv(296, 75%, 51%)
CMYKcmyk(4.6%, 75.4%, 0%, 49%)
CIE-LABlab(31.65, 51.29, -34.81)
CIE-LCHlch(31.65, 61.98, 325.84°)
OKLaboklab(43.31% 0.14 -0.0968)
OKLCHoklch(43.31% 0.17 325.3)
XYZxyz(12.8577, 6.9307, 21.7753)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2082 #268220
analogous
#4B2082 #7C2082 #822057
triadic
#7C2082 #827C20 #20827C
tetradic
#7C2082 #824B20 #268220 #205782
square
#7C2082 #824B20 #268220 #205782
split-complementary
#7C2082 #578220 #20824B
monochromatic
#1E0820 #4D1451 #7C2082 #AB2CB3 #CA4AD2

Accessibility & contrast

On white

8.80
#7C2082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7C2082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2082
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2082#FFFFFF#000000##FFFFFF
##7C20821.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014385
Deuteranopia (green-blind)
#354E80
Tritanopia (blue-blind)
#7F314F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c2082;
/* rgb */ color: rgb(124, 32, 130);
/* oklch */ color: oklch(43.3% 0.170 325.3);
Tailwind
colors: {
  custom: {
    50: '#a566a7',
    500: '#7c2082',
    950: '#000000',
  },
}
SCSS
$custom: #7c2082;
$custom-light: #a566a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2082",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 296.327,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43313,
    "c": 0.17023,
    "h": 325.3
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#7C2082
secondary
#50B549
accent
#E4444E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C2082

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

Preview Lab → · Contrast checker → · Palette generator →

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