#7B2184#7B2184

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

Color values

HEX#7B2184
RGBrgb(123, 33, 132)
HSLhsl(295, 60%, 32%)
HSVhsv(295, 75%, 52%)
CMYKcmyk(6.8%, 75%, 0%, 48.2%)
CIE-LABlab(31.73, 51.07, -35.94)
CIE-LCHlch(31.73, 62.45, 324.87°)
OKLaboklab(43.38% 0.1377 -0.1002)
OKLCHoklch(43.38% 0.17 324)
XYZxyz(12.8767, 6.9654, 22.4915)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2184 #2A8421
analogous
#492184 #7B2184 #84215C
triadic
#7B2184 #847B21 #21847B
tetradic
#7B2184 #844921 #2A8421 #215C84
square
#7B2184 #844921 #2A8421 #215C84
split-complementary
#7B2184 #5C8421 #218449
monochromatic
#200922 #4D1553 #7B2184 #A92DB5 #C64DD2

Accessibility & contrast

On white

8.78
#7B2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2184
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2184#FFFFFF#000000##FFFFFF
##7B21841.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#334E82
Tritanopia (blue-blind)
#7D3351
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2184;
/* rgb */ color: rgb(123, 33, 132);
/* oklch */ color: oklch(43.4% 0.170 324.0);
Tailwind
colors: {
  custom: {
    50: '#a466a8',
    500: '#7b2184',
    950: '#000000',
  },
}
SCSS
$custom: #7b2184;
$custom-light: #a466a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2184",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 294.545,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.17032,
    "h": 324
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

primary
#7B2184
secondary
#55B64B
accent
#E34553
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B2184

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

Preview Lab → · Contrast checker → · Palette generator →

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