#7B2289#7B2289

#7B2289 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.174 H 321.8°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7B2289
RGBrgb(123, 34, 137)
HSLhsl(292, 60%, 34%)
HSVhsv(292, 75%, 54%)
CMYKcmyk(10.2%, 75.2%, 0%, 46.3%)
CIE-LABlab(32.17, 51.65, -38.34)
CIE-LCHlch(32.17, 64.32, 323.42°)
OKLaboklab(43.8% 0.1365 -0.1072)
OKLCHoklch(43.8% 0.174 321.8)
XYZxyz(13.2553, 7.1619, 24.3463)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2289 #308922
analogous
#472289 #7B2289 #892263
triadic
#7B2289 #897B22 #22897B
tetradic
#7B2289 #894722 #308922 #226389
square
#7B2289 #894722 #308922 #226389
split-complementary
#7B2289 #638922 #228947
monochromatic
#230A27 #4F1658 #7B2289 #A72EBA #C251D4

Accessibility & contrast

On white

8.63
#7B2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7B2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2289
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2289#FFFFFF#000000##FFFFFF
##7B22891.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#304F87
Tritanopia (blue-blind)
#7C3654
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b2289;
/* rgb */ color: rgb(123, 34, 137);
/* oklch */ color: oklch(43.8% 0.174 321.8);
Tailwind
colors: {
  custom: {
    50: '#a567ac',
    500: '#7b2289',
    950: '#000000',
  },
}
SCSS
$custom: #7b2289;
$custom-light: #a567ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2289",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 291.845,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43795,
    "c": 0.17353,
    "h": 321.8
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

primary
#7B2289
secondary
#5DB84F
accent
#E3445A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B2289

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

Preview Lab → · Contrast checker → · Palette generator →

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