#7B2194#7B2194

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

Color values

HEX#7B2194
RGBrgb(123, 33, 148)
HSLhsl(287, 64%, 35%)
HSVhsv(287, 78%, 58%)
CMYKcmyk(16.9%, 77.7%, 0%, 42%)
CIE-LABlab(32.78, 54.15, -44.14)
CIE-LCHlch(32.78, 69.85, 320.82°)
OKLaboklab(44.46% 0.1363 -0.1242)
OKLCHoklch(44.46% 0.184 317.7)
XYZxyz(14.0568, 7.4374, 28.7064)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2194 #3A9421
analogous
#422194 #7B2194 #942173
triadic
#7B2194 #947B21 #21947B
tetradic
#7B2194 #944221 #3A9421 #217394
square
#7B2194 #944221 #3A9421 #217394
split-complementary
#7B2194 #739421 #219442
monochromatic
#280B30 #511662 #7B2194 #A52CC6 #BD56D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2194#FFFFFF#000000##FFFFFF
##7B21941.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)
#004897
Deuteranopia (green-blind)
#255091
Tritanopia (blue-blind)
#7A3A5A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2194;
/* rgb */ color: rgb(123, 33, 148);
/* oklch */ color: oklch(44.5% 0.184 317.7);
Tailwind
colors: {
  custom: {
    50: '#a567b4',
    500: '#7b2194',
    950: '#000000',
  },
}
SCSS
$custom: #7b2194;
$custom-light: #a567b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2194",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 286.957,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44463,
    "c": 0.18435,
    "h": 317.7
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

primary
#7B2194
secondary
#6BBD54
accent
#E74165
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2194

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

Preview Lab → · Contrast checker → · Palette generator →

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