#7B2191#7B2191

#7B2191 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.182 H 318.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7B2191
RGBrgb(123, 33, 145)
HSLhsl(288, 63%, 35%)
HSVhsv(288, 77%, 57%)
CMYKcmyk(15.2%, 77.2%, 0%, 43.1%)
CIE-LABlab(32.58, 53.55, -42.63)
CIE-LCHlch(32.58, 68.45, 321.48°)
OKLaboklab(44.25% 0.1366 -0.1198)
OKLCHoklch(44.25% 0.182 318.8)
XYZxyz(13.8224, 7.3437, 27.4720)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2191 #379121
analogous
#432191 #7B2191 #91216F
triadic
#7B2191 #917B21 #21917B
tetradic
#7B2191 #914321 #379121 #216F91
square
#7B2191 #914321 #379121 #216F91
split-complementary
#7B2191 #6F9121 #219143
monochromatic
#260A2D #51165F #7B2191 #A52CC3 #BE54D8

Accessibility & contrast

On white

8.51
#7B2191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7B2191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2191
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2191#FFFFFF#000000##FFFFFF
##7B21911.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#284F8F
Tritanopia (blue-blind)
#7B3958
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2191;
/* rgb */ color: rgb(123, 33, 145);
/* oklch */ color: oklch(44.3% 0.182 318.8);
Tailwind
colors: {
  custom: {
    50: '#a567b2',
    500: '#7b2191',
    950: '#000000',
  },
}
SCSS
$custom: #7b2191;
$custom-light: #a567b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2191",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 288.214,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44252,
    "c": 0.18169,
    "h": 318.8
  },
  "luminance": 0.07343
}

Semantic roles & 50–950 ramp

primary
#7B2191
secondary
#67BC52
accent
#E64262
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B2191

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

Preview Lab → · Contrast checker → · Palette generator →

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