#7B1988#7B1988

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

Color values

HEX#7B1988
RGBrgb(123, 25, 136)
HSLhsl(293, 69%, 32%)
HSVhsv(293, 82%, 53%)
CMYKcmyk(9.6%, 81.6%, 0%, 46.7%)
CIE-LABlab(31.08, 54.43, -39.47)
CIE-LCHlch(31.08, 67.23, 324.05°)
OKLaboklab(43% 0.1445 -0.1105)
OKLCHoklch(43% 0.182 322.6)
XYZxyz(12.9595, 6.6846, 23.8954)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1988 #268819
analogous
#441988 #7B1988 #88195E
triadic
#7B1988 #887B19 #19887B
tetradic
#7B1988 #884419 #268819 #195E88
square
#7B1988 #884419 #268819 #195E88
split-complementary
#7B1988 #5E8819 #198844
monochromatic
#1D0621 #4C0F54 #7B1988 #AA23BC #CA40DC

Accessibility & contrast

On white

8.99
#7B1988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7B1988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1988
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1988#FFFFFF#000000##FFFFFF
##7B19881.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#2C4D86
Tritanopia (blue-blind)
#7D3051
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b1988;
/* rgb */ color: rgb(123, 25, 136);
/* oklch */ color: oklch(43.0% 0.182 322.6);
Tailwind
colors: {
  custom: {
    50: '#a563ab',
    500: '#7b1988',
    950: '#000000',
  },
}
SCSS
$custom: #7b1988;
$custom-light: #a563ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1988",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 292.973,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42998,
    "c": 0.18192,
    "h": 322.6
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#7B1988
secondary
#50BB41
accent
#EC3C51
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1988

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

Preview Lab → · Contrast checker → · Palette generator →

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