#7A1988#7A1988

#7A1988 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.181 H 322.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7A1988
RGBrgb(122, 25, 136)
HSLhsl(292, 69%, 32%)
HSVhsv(292, 82%, 53%)
CMYKcmyk(10.3%, 81.6%, 0%, 46.7%)
CIE-LABlab(30.90, 54.23, -39.76)
CIE-LCHlch(30.90, 67.24, 323.75°)
OKLaboklab(42.84% 0.1434 -0.1113)
OKLCHoklch(42.84% 0.182 322.2)
XYZxyz(12.8171, 6.6112, 23.8888)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1988 #278819
analogous
#431988 #7A1988 #88195F
triadic
#7A1988 #887A19 #19887A
tetradic
#7A1988 #884319 #278819 #195F88
square
#7A1988 #884319 #278819 #195F88
split-complementary
#7A1988 #5F8819 #198843
monochromatic
#1D0621 #4C0F54 #7A1988 #A823BC #C840DC

Accessibility & contrast

On white

9.04
#7A1988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7A1988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1988
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1988#FFFFFF#000000##FFFFFF
##7A19881.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1988;
/* rgb */ color: rgb(122, 25, 136);
/* oklch */ color: oklch(42.8% 0.181 322.2);
Tailwind
colors: {
  custom: {
    50: '#a463ab',
    500: '#7a1988',
    950: '#000000',
  },
}
SCSS
$custom: #7a1988;
$custom-light: #a463ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1988",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 292.432,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42842,
    "c": 0.1815,
    "h": 322.2
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#7A1988
secondary
#51BB41
accent
#EC3C52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1988

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

Preview Lab → · Contrast checker → · Palette generator →

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