#7A1889#7A1889

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

Color values

HEX#7A1889
RGBrgb(122, 24, 137)
HSLhsl(292, 70%, 32%)
HSVhsv(292, 82%, 54%)
CMYKcmyk(10.9%, 82.5%, 0%, 46.3%)
CIE-LABlab(30.87, 54.70, -40.43)
CIE-LCHlch(30.87, 68.02, 323.53°)
OKLaboklab(42.84% 0.144 -0.1133)
OKLCHoklch(42.84% 0.183 321.8)
XYZxyz(12.8675, 6.5977, 24.2578)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1889 #278918
analogous
#421889 #7A1889 #891860
triadic
#7A1889 #897A18 #18897A
tetradic
#7A1889 #894218 #278918 #186089
square
#7A1889 #894218 #278918 #186089
split-complementary
#7A1889 #608918 #188942
monochromatic
#1D0621 #4C0F55 #7A1889 #A821BD #C83EDD

Accessibility & contrast

On white

9.05
#7A1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1889
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1889#FFFFFF#000000##FFFFFF
##7A18891.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#294C87
Tritanopia (blue-blind)
#7B3151
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a1889;
/* rgb */ color: rgb(122, 24, 137);
/* oklch */ color: oklch(42.8% 0.183 321.8);
Tailwind
colors: {
  custom: {
    50: '#a463ac',
    500: '#7a1889',
    950: '#000000',
  },
}
SCSS
$custom: #7a1889;
$custom-light: #a463ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1889",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 292.035,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42841,
    "c": 0.18322,
    "h": 321.8
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

primary
#7A1889
secondary
#51BD40
accent
#ED3B52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1889

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

Preview Lab → · Contrast checker → · Palette generator →

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