#7B2E8A#7B2E8A

#7B2E8A is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.159 H 320.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7B2E8A
RGBrgb(123, 46, 138)
HSLhsl(290, 50%, 36%)
HSVhsv(290, 67%, 54%)
CMYKcmyk(10.9%, 66.7%, 0%, 45.9%)
CIE-LABlab(33.98, 46.92, -36.06)
CIE-LCHlch(33.98, 59.17, 322.45°)
OKLaboklab(45.11% 0.1232 -0.1006)
OKLCHoklch(45.11% 0.159 320.7)
XYZxyz(13.7323, 8.0006, 24.8608)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E8A #3D8A2E
analogous
#4D2E8A #7B2E8A #8A2E6B
triadic
#7B2E8A #8A7B2E #2E8A7B
tetradic
#7B2E8A #8A4D2E #3D8A2E #2E6B8A
square
#7B2E8A #8A4D2E #3D8A2E #2E6B8A
split-complementary
#7B2E8A #6B8A2E #2E8A4D
monochromatic
#290F2E #521F5C #7B2E8A #A43DB8 #BC66CC

Accessibility & contrast

On white

8.08
#7B2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7B2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2E8A
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2E8A#FFFFFF#000000##FFFFFF
##7B2E8A1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144A8D
Deuteranopia (green-blind)
#375388
Tritanopia (blue-blind)
#7C3D58
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b2e8a;
/* rgb */ color: rgb(123, 46, 138);
/* oklch */ color: oklch(45.1% 0.159 320.7);
Tailwind
colors: {
  custom: {
    50: '#a46dac',
    500: '#7b2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e8a;
$custom-light: #a46dac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e8a",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 290.217,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45114,
    "c": 0.15906,
    "h": 320.7
  },
  "luminance": 0.08
}

Semantic roles & 50–950 ramp

primary
#7B2E8A
secondary
#6EB361
accent
#DA4E65
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7B2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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