#7B2389#7B2389

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

Color values

HEX#7B2389
RGBrgb(123, 35, 137)
HSLhsl(292, 59%, 34%)
HSVhsv(292, 74%, 54%)
CMYKcmyk(10.2%, 74.5%, 0%, 46.3%)
CIE-LABlab(32.30, 51.28, -38.13)
CIE-LCHlch(32.30, 63.90, 323.37°)
OKLaboklab(43.89% 0.1355 -0.1066)
OKLCHoklch(43.89% 0.172 321.8)
XYZxyz(13.2843, 7.2199, 24.3559)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2389 #318923
analogous
#482389 #7B2389 #892364
triadic
#7B2389 #897B23 #23897B
tetradic
#7B2389 #894823 #318923 #236489
square
#7B2389 #894823 #318923 #236489
split-complementary
#7B2389 #648923 #238948
monochromatic
#230A28 #4F1758 #7B2389 #A72FBA #C253D3

Accessibility & contrast

On white

8.59
#7B2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7B2389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2389
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2389#FFFFFF#000000##FFFFFF
##7B23891.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2389;
/* rgb */ color: rgb(123, 35, 137);
/* oklch */ color: oklch(43.9% 0.172 321.8);
Tailwind
colors: {
  custom: {
    50: '#a567ac',
    500: '#7b2389',
    950: '#000000',
  },
}
SCSS
$custom: #7b2389;
$custom-light: #a567ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2389",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 291.765,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43888,
    "c": 0.17237,
    "h": 321.8
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#7B2389
secondary
#5FB751
accent
#E2455B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2389

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

Preview Lab → · Contrast checker → · Palette generator →

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