#7B2084#7B2084

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

Color values

HEX#7B2084
RGBrgb(123, 32, 132)
HSLhsl(295, 61%, 32%)
HSVhsv(295, 76%, 52%)
CMYKcmyk(6.8%, 75.8%, 0%, 48.2%)
CIE-LABlab(31.60, 51.43, -36.14)
CIE-LCHlch(31.60, 62.86, 324.91°)
OKLaboklab(43.29% 0.1387 -0.1008)
OKLCHoklch(43.29% 0.171 324)
XYZxyz(12.8494, 6.9107, 22.4824)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2084 #298420
analogous
#492084 #7B2084 #84205B
triadic
#7B2084 #847B20 #20847B
tetradic
#7B2084 #844920 #298420 #205B84
square
#7B2084 #844920 #298420 #205B84
split-complementary
#7B2084 #5B8420 #208449
monochromatic
#1F0821 #4D1453 #7B2084 #A92CB5 #C74BD3

Accessibility & contrast

On white

8.82
#7B2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2084
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2084#FFFFFF#000000##FFFFFF
##7B20841.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#334E82
Tritanopia (blue-blind)
#7D3250
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b2084;
/* rgb */ color: rgb(123, 32, 132);
/* oklch */ color: oklch(43.3% 0.171 324.0);
Tailwind
colors: {
  custom: {
    50: '#a566a8',
    500: '#7b2084',
    950: '#000000',
  },
}
SCSS
$custom: #7b2084;
$custom-light: #a566a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2084",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 294.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43287,
    "c": 0.17146,
    "h": 324
  },
  "luminance": 0.0691
}

Semantic roles & 50–950 ramp

primary
#7B2084
secondary
#53B64A
accent
#E44452
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B2084

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

Preview Lab → · Contrast checker → · Palette generator →

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