#7B2096#7B2096

#7B2096 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.187 H 317.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7B2096
RGBrgb(123, 32, 150)
HSLhsl(286, 65%, 36%)
HSVhsv(286, 79%, 59%)
CMYKcmyk(18%, 78.7%, 0%, 41.2%)
CIE-LABlab(32.80, 54.89, -45.33)
CIE-LCHlch(32.80, 71.18, 320.45°)
OKLaboklab(44.52% 0.1369 -0.1277)
OKLCHoklch(44.52% 0.187 317)
XYZxyz(14.1891, 7.4466, 29.5382)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2096 #3B9620
analogous
#402096 #7B2096 #962076
triadic
#7B2096 #967B20 #20967B
tetradic
#7B2096 #964020 #3B9620 #207696
square
#7B2096 #964020 #3B9620 #207696
split-complementary
#7B2096 #769620 #209640
monochromatic
#280A31 #521564 #7B2096 #A42BC8 #BC56DB

Accessibility & contrast

On white

8.44
#7B2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7B2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2096
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2096#FFFFFF#000000##FFFFFF
##7B20961.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#225093
Tritanopia (blue-blind)
#7A3A5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2096;
/* rgb */ color: rgb(123, 32, 150);
/* oklch */ color: oklch(44.5% 0.187 317.0);
Tailwind
colors: {
  custom: {
    50: '#a567b5',
    500: '#7b2096',
    950: '#000000',
  },
}
SCSS
$custom: #7b2096;
$custom-light: #a567b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2096",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 286.271,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44521,
    "c": 0.18716,
    "h": 317
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

primary
#7B2096
secondary
#6CBE53
accent
#E84066
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B2096

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

Preview Lab → · Contrast checker → · Palette generator →

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