#7B2097#7B2097

#7B2097 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.188 H 316.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7B2097
RGBrgb(123, 32, 151)
HSLhsl(286, 65%, 36%)
HSVhsv(286, 79%, 59%)
CMYKcmyk(18.5%, 78.8%, 0%, 40.8%)
CIE-LABlab(32.87, 55.08, -45.83)
CIE-LCHlch(32.87, 71.65, 320.24°)
OKLaboklab(44.59% 0.1367 -0.1291)
OKLCHoklch(44.59% 0.188 316.6)
XYZxyz(14.2700, 7.4789, 29.9641)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2097 #3C9720
analogous
#3F2097 #7B2097 #972077
triadic
#7B2097 #977B20 #20977B
tetradic
#7B2097 #973F20 #3C9720 #207797
square
#7B2097 #973F20 #3C9720 #207797
split-complementary
#7B2097 #779720 #20973F
monochromatic
#290B32 #521564 #7B2097 #A42BC9 #BC56DB

Accessibility & contrast

On white

8.41
#7B2097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7B2097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2097
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2097#FFFFFF#000000##FFFFFF
##7B20971.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#205094
Tritanopia (blue-blind)
#793B5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2097;
/* rgb */ color: rgb(123, 32, 151);
/* oklch */ color: oklch(44.6% 0.188 316.6);
Tailwind
colors: {
  custom: {
    50: '#a567b6',
    500: '#7b2097',
    950: '#000000',
  },
}
SCSS
$custom: #7b2097;
$custom-light: #a567b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2097",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 285.882,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44593,
    "c": 0.18805,
    "h": 316.6
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#7B2097
secondary
#6DBF54
accent
#E84067
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2097

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

Preview Lab → · Contrast checker → · Palette generator →

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