#7B2A84#7B2A84

#7B2A84 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.159 H 323.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7B2A84
RGBrgb(123, 42, 132)
HSLhsl(294, 52%, 34%)
HSVhsv(294, 68%, 52%)
CMYKcmyk(6.8%, 68.2%, 0%, 48.2%)
CIE-LABlab(32.99, 47.50, -33.92)
CIE-LCHlch(32.99, 58.37, 324.47°)
OKLaboklab(44.28% 0.1279 -0.0944)
OKLCHoklch(44.28% 0.159 323.6)
XYZxyz(13.1608, 7.5336, 22.5862)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2A84 #33842A
analogous
#4E2A84 #7B2A84 #842A60
triadic
#7B2A84 #847B2A #2A847B
tetradic
#7B2A84 #844E2A #33842A #2A6084
square
#7B2A84 #844E2A #33842A #2A6084
split-complementary
#7B2A84 #60842A #2A844E
monochromatic
#240C27 #501B56 #7B2A84 #A639B2 #C05DCB

Accessibility & contrast

On white

8.38
#7B2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7B2A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2A84
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2A84#FFFFFF#000000##FFFFFF
##7B2A841.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154787
Deuteranopia (green-blind)
#385182
Tritanopia (blue-blind)
#7D3853
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b2a84;
/* rgb */ color: rgb(123, 42, 132);
/* oklch */ color: oklch(44.3% 0.159 323.6);
Tailwind
colors: {
  custom: {
    50: '#a46aa8',
    500: '#7b2a84',
    950: '#000000',
  },
}
SCSS
$custom: #7b2a84;
$custom-light: #a46aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2a84",
  "rgb": {
    "r": 123,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 294,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44283,
    "c": 0.15899,
    "h": 323.6
  },
  "luminance": 0.07533
}

Semantic roles & 50–950 ramp

primary
#7B2A84
secondary
#62B159
accent
#DB4D5B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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