#7B2192#7B2192

#7B2192 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.183 H 318.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7B2192
RGBrgb(123, 33, 146)
HSLhsl(288, 63%, 35%)
HSVhsv(288, 77%, 57%)
CMYKcmyk(15.8%, 77.4%, 0%, 42.7%)
CIE-LABlab(32.64, 53.75, -43.13)
CIE-LCHlch(32.64, 68.92, 321.26°)
OKLaboklab(44.32% 0.1365 -0.1212)
OKLCHoklch(44.32% 0.183 318.4)
XYZxyz(13.8998, 7.3746, 27.8798)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2192 #389221
analogous
#432192 #7B2192 #922170
triadic
#7B2192 #927B21 #21927B
tetradic
#7B2192 #924321 #389221 #217092
square
#7B2192 #924321 #389221 #217092
split-complementary
#7B2192 #709221 #219243
monochromatic
#270A2E #511660 #7B2192 #A52CC4 #BE55D9

Accessibility & contrast

On white

8.49
#7B2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2192
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2192#FFFFFF#000000##FFFFFF
##7B21921.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#275090
Tritanopia (blue-blind)
#7A3959
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2192;
/* rgb */ color: rgb(123, 33, 146);
/* oklch */ color: oklch(44.3% 0.183 318.4);
Tailwind
colors: {
  custom: {
    50: '#a567b3',
    500: '#7b2192',
    950: '#000000',
  },
}
SCSS
$custom: #7b2192;
$custom-light: #a567b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2192",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 287.788,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44322,
    "c": 0.18258,
    "h": 318.4
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#7B2192
secondary
#68BC53
accent
#E64263
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2192

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

Preview Lab → · Contrast checker → · Palette generator →

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