#7B2189#7B2189

#7B2189 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.175 H 321.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7B2189
RGBrgb(123, 33, 137)
HSLhsl(292, 61%, 33%)
HSVhsv(292, 76%, 54%)
CMYKcmyk(10.2%, 75.9%, 0%, 46.3%)
CIE-LABlab(32.05, 52.01, -38.54)
CIE-LCHlch(32.05, 64.73, 323.46°)
OKLaboklab(43.71% 0.1374 -0.1078)
OKLCHoklch(43.71% 0.175 321.9)
XYZxyz(13.2271, 7.1056, 24.3369)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2189 #2F8921
analogous
#472189 #7B2189 #892163
triadic
#7B2189 #897B21 #21897B
tetradic
#7B2189 #894721 #2F8921 #216389
square
#7B2189 #894721 #2F8921 #216389
split-complementary
#7B2189 #638921 #218947
monochromatic
#220926 #4F1558 #7B2189 #A72DBA #C350D5

Accessibility & contrast

On white

8.67
#7B2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7B2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2189
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2189#FFFFFF#000000##FFFFFF
##7B21891.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#2F4F87
Tritanopia (blue-blind)
#7C3553
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2189;
/* rgb */ color: rgb(123, 33, 137);
/* oklch */ color: oklch(43.7% 0.175 321.9);
Tailwind
colors: {
  custom: {
    50: '#a566ac',
    500: '#7b2189',
    950: '#000000',
  },
}
SCSS
$custom: #7b2189;
$custom-light: #a566ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2189",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 291.923,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43705,
    "c": 0.17466,
    "h": 321.9
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#7B2189
secondary
#5CB84E
accent
#E44459
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B2189

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

Preview Lab → · Contrast checker → · Palette generator →

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