#7B1889#7B1889

#7B1889 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.184 H 322.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7B1889
RGBrgb(123, 24, 137)
HSLhsl(293, 70%, 32%)
HSVhsv(293, 82%, 54%)
CMYKcmyk(10.2%, 82.5%, 0%, 46.3%)
CIE-LABlab(31.05, 54.90, -40.14)
CIE-LCHlch(31.05, 68.01, 323.82°)
OKLaboklab(43% 0.1452 -0.1124)
OKLCHoklch(43% 0.184 322.3)
XYZxyz(13.0099, 6.6711, 24.2645)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1889 #268918
analogous
#431889 #7B1889 #89185F
triadic
#7B1889 #897B18 #18897B
tetradic
#7B1889 #894318 #268918 #185F89
square
#7B1889 #894318 #268918 #185F89
split-complementary
#7B1889 #5F8918 #188943
monochromatic
#1D0621 #4C0F55 #7B1889 #AA21BD #CA3EDD

Accessibility & contrast

On white

9.00
#7B1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7B1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1889
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1889#FFFFFF#000000##FFFFFF
##7B18891.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#2A4D87
Tritanopia (blue-blind)
#7C3051
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b1889;
/* rgb */ color: rgb(123, 24, 137);
/* oklch */ color: oklch(43.0% 0.184 322.3);
Tailwind
colors: {
  custom: {
    50: '#a563ac',
    500: '#7b1889',
    950: '#000000',
  },
}
SCSS
$custom: #7b1889;
$custom-light: #a563ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1889",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 292.566,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42997,
    "c": 0.18363,
    "h": 322.3
  },
  "luminance": 0.0667
}

Semantic roles & 50–950 ramp

primary
#7B1889
secondary
#50BD40
accent
#ED3B51
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1889

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

Preview Lab → · Contrast checker → · Palette generator →

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