#7B2082#7B2082

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

Color values

HEX#7B2082
RGBrgb(123, 32, 130)
HSLhsl(296, 60%, 32%)
HSVhsv(296, 75%, 51%)
CMYKcmyk(5.4%, 75.4%, 0%, 49%)
CIE-LABlab(31.48, 51.06, -35.09)
CIE-LCHlch(31.48, 61.96, 325.51°)
OKLaboklab(43.16% 0.1388 -0.0977)
OKLCHoklch(43.16% 0.17 324.9)
XYZxyz(12.7138, 6.8565, 21.7685)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2082 #278220
analogous
#4A2082 #7B2082 #822058
triadic
#7B2082 #827B20 #20827B
tetradic
#7B2082 #824A20 #278220 #205882
square
#7B2082 #824A20 #278220 #205882
split-complementary
#7B2082 #588220 #20824A
monochromatic
#1E0820 #4D1451 #7B2082 #A92CB3 #C94AD2

Accessibility & contrast

On white

8.86
#7B2082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7B2082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2082
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2082#FFFFFF#000000##FFFFFF
##7B20821.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#344E80
Tritanopia (blue-blind)
#7E314F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b2082;
/* rgb */ color: rgb(123, 32, 130);
/* oklch */ color: oklch(43.2% 0.170 324.9);
Tailwind
colors: {
  custom: {
    50: '#a466a7',
    500: '#7b2082',
    950: '#000000',
  },
}
SCSS
$custom: #7b2082;
$custom-light: #a466a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2082",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 295.714,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43158,
    "c": 0.16975,
    "h": 324.9
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#7B2082
secondary
#51B549
accent
#E44450
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B2082

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

Preview Lab → · Contrast checker → · Palette generator →

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