#7B2789#7B2789

#7B2789 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.168 H 321.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7B2789
RGBrgb(123, 39, 137)
HSLhsl(291, 56%, 35%)
HSVhsv(291, 72%, 54%)
CMYKcmyk(10.2%, 71.5%, 0%, 46.3%)
CIE-LABlab(32.85, 49.72, -37.25)
CIE-LCHlch(32.85, 62.13, 323.16°)
OKLaboklab(44.28% 0.1313 -0.1041)
OKLCHoklch(44.28% 0.168 321.6)
XYZxyz(13.4088, 7.4689, 24.3974)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2789 #358927
analogous
#4A2789 #7B2789 #892766
triadic
#7B2789 #897B27 #27897B
tetradic
#7B2789 #894A27 #358927 #276689
square
#7B2789 #894A27 #358927 #276689
split-complementary
#7B2789 #668927 #27894A
monochromatic
#250C2A #501959 #7B2789 #A635B9 #BF5AD0

Accessibility & contrast

On white

8.42
#7B2789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2789
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2789#FFFFFF#000000##FFFFFF
##7B27891.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01478C
Deuteranopia (green-blind)
#335087
Tritanopia (blue-blind)
#7C3955
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2789;
/* rgb */ color: rgb(123, 39, 137);
/* oklch */ color: oklch(44.3% 0.168 321.6);
Tailwind
colors: {
  custom: {
    50: '#a469ac',
    500: '#7b2789',
    950: '#000000',
  },
}
SCSS
$custom: #7b2789;
$custom-light: #a469ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2789",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 291.429,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4428,
    "c": 0.16751,
    "h": 321.6
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#7B2789
secondary
#64B557
accent
#DF495E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2789

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

Preview Lab → · Contrast checker → · Palette generator →

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