#7B2086#7B2086

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

Color values

HEX#7B2086
RGBrgb(123, 32, 134)
HSLhsl(294, 61%, 33%)
HSVhsv(294, 76%, 53%)
CMYKcmyk(8.2%, 76.1%, 0%, 47.5%)
CIE-LABlab(31.73, 51.80, -37.18)
CIE-LCHlch(31.73, 63.77, 324.33°)
OKLaboklab(43.42% 0.1386 -0.1038)
OKLCHoklch(43.42% 0.173 323.2)
XYZxyz(12.9876, 6.9660, 23.2101)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2086 #2B8620
analogous
#482086 #7B2086 #86205E
triadic
#7B2086 #867B20 #20867B
tetradic
#7B2086 #864820 #2B8620 #205E86
square
#7B2086 #864820 #2B8620 #205E86
split-complementary
#7B2086 #5E8620 #208648
monochromatic
#200823 #4E1455 #7B2086 #A82CB7 #C64CD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2086#FFFFFF#000000##FFFFFF
##7B20861.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)
#004489
Deuteranopia (green-blind)
#314E84
Tritanopia (blue-blind)
#7D3352
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2086;
/* rgb */ color: rgb(123, 32, 134);
/* oklch */ color: oklch(43.4% 0.173 323.2);
Tailwind
colors: {
  custom: {
    50: '#a566aa',
    500: '#7b2086',
    950: '#000000',
  },
}
SCSS
$custom: #7b2086;
$custom-light: #a566aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2086",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 293.529,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43418,
    "c": 0.17317,
    "h": 323.2
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

primary
#7B2086
secondary
#56B74B
accent
#E54355
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B2086

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

Preview Lab → · Contrast checker → · Palette generator →

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