#7B2C8A#7B2C8A

#7B2C8A is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.162 H 320.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7B2C8A
RGBrgb(123, 44, 138)
HSLhsl(290, 52%, 36%)
HSVhsv(290, 68%, 54%)
CMYKcmyk(10.9%, 68.1%, 0%, 45.9%)
CIE-LABlab(33.66, 47.81, -36.57)
CIE-LCHlch(33.66, 60.19, 322.59°)
OKLaboklab(44.88% 0.1256 -0.1021)
OKLCHoklch(44.88% 0.162 320.9)
XYZxyz(13.6560, 7.8480, 24.8353)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2C8A #3B8A2C
analogous
#4C2C8A #7B2C8A #8A2C6A
triadic
#7B2C8A #8A7B2C #2C8A7B
tetradic
#7B2C8A #8A4C2C #3B8A2C #2C6A8A
square
#7B2C8A #8A4C2C #3B8A2C #2C6A8A
split-complementary
#7B2C8A #6A8A2C #2C8A4C
monochromatic
#280E2D #521D5C #7B2C8A #A43BB8 #BC63CD

Accessibility & contrast

On white

8.17
#7B2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7B2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2C8A
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2C8A#FFFFFF#000000##FFFFFF
##7B2C8A1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4A8D
Deuteranopia (green-blind)
#365288
Tritanopia (blue-blind)
#7C3C57
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b2c8a;
/* rgb */ color: rgb(123, 44, 138);
/* oklch */ color: oklch(44.9% 0.162 320.9);
Tailwind
colors: {
  custom: {
    50: '#a46cad',
    500: '#7b2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #7b2c8a;
$custom-light: #a46cad;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2c8a",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 290.426,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44884,
    "c": 0.16185,
    "h": 320.9
  },
  "luminance": 0.07847
}

Semantic roles & 50–950 ramp

primary
#7B2C8A
secondary
#6CB45E
accent
#DB4D63
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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