#7A1689#7A1689

#7A1689 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.185 H 321.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7A1689
RGBrgb(122, 22, 137)
HSLhsl(292, 72%, 31%)
HSVhsv(292, 84%, 54%)
CMYKcmyk(10.9%, 83.9%, 0%, 46.3%)
CIE-LABlab(30.68, 55.25, -40.73)
CIE-LCHlch(30.68, 68.64, 323.60°)
OKLaboklab(42.71% 0.1455 -0.1142)
OKLCHoklch(42.71% 0.185 321.9)
XYZxyz(12.8278, 6.5183, 24.2445)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1689 #258916
analogous
#401689 #7A1689 #89165E
triadic
#7A1689 #897A16 #16897A
tetradic
#7A1689 #894016 #258916 #165E89
square
#7A1689 #894016 #258916 #165E89
split-complementary
#7A1689 #5E8916 #168940
monochromatic
#1C0520 #4B0E54 #7A1689 #A91EBE #CA3ADF

Accessibility & contrast

On white

9.12
#7A1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7A1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1689
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1689#FFFFFF#000000##FFFFFF
##7A16891.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#284C87
Tritanopia (blue-blind)
#7B3051
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a1689;
/* rgb */ color: rgb(122, 22, 137);
/* oklch */ color: oklch(42.7% 0.185 321.9);
Tailwind
colors: {
  custom: {
    50: '#a462ac',
    500: '#7a1689',
    950: '#000000',
  },
}
SCSS
$custom: #7a1689;
$custom-light: #a462ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1689",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 292.174,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42708,
    "c": 0.18492,
    "h": 321.9
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#7A1689
secondary
#4EBD3E
accent
#EF3951
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1689

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

Preview Lab → · Contrast checker → · Palette generator →

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