#7A2184#7A2184

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

Color values

HEX#7A2184
RGBrgb(122, 33, 132)
HSLhsl(294, 60%, 32%)
HSVhsv(294, 75%, 52%)
CMYKcmyk(7.6%, 75%, 0%, 48.2%)
CIE-LABlab(31.56, 50.85, -36.22)
CIE-LCHlch(31.56, 62.43, 324.54°)
OKLaboklab(43.22% 0.1365 -0.101)
OKLCHoklch(43.22% 0.17 323.5)
XYZxyz(12.7344, 6.8920, 22.4849)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2184 #2B8421
analogous
#482184 #7A2184 #84215D
triadic
#7A2184 #847A21 #21847A
tetradic
#7A2184 #844821 #2B8421 #215D84
square
#7A2184 #844821 #2B8421 #215D84
split-complementary
#7A2184 #5D8421 #218448
monochromatic
#1F0922 #4D1553 #7A2184 #A72DB5 #C54DD2

Accessibility & contrast

On white

8.83
#7A2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7A2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2184
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2184#FFFFFF#000000##FFFFFF
##7A21841.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#324E82
Tritanopia (blue-blind)
#7C3351
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2184;
/* rgb */ color: rgb(122, 33, 132);
/* oklch */ color: oklch(43.2% 0.170 323.5);
Tailwind
colors: {
  custom: {
    50: '#a466a8',
    500: '#7a2184',
    950: '#000000',
  },
}
SCSS
$custom: #7a2184;
$custom-light: #a466a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2184",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 293.939,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43224,
    "c": 0.16985,
    "h": 323.5
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#7A2184
secondary
#56B64B
accent
#E34555
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A2184

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

Preview Lab → · Contrast checker → · Palette generator →

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