#7A1784#7A1784

#7A1784 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.180 H 323.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7A1784
RGBrgb(122, 23, 132)
HSLhsl(294, 70%, 30%)
HSVhsv(294, 83%, 52%)
CMYKcmyk(7.6%, 82.6%, 0%, 48.2%)
CIE-LABlab(30.44, 54.07, -38.01)
CIE-LCHlch(30.44, 66.09, 324.90°)
OKLaboklab(42.43% 0.1453 -0.1062)
OKLCHoklch(42.43% 0.18 323.8)
XYZxyz(12.4969, 6.4171, 22.4057)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1784 #218417
analogous
#431784 #7A1784 #841758
triadic
#7A1784 #847A17 #17847A
tetradic
#7A1784 #844317 #218417 #175884
square
#7A1784 #844317 #218417 #175884
split-complementary
#7A1784 #588417 #178443
monochromatic
#1A051C #4A0E50 #7A1784 #AA20B8 #CD39DC

Accessibility & contrast

On white

9.20
#7A1784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7A1784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1784
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1784#FFFFFF#000000##FFFFFF
##7A17841.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#2D4B82
Tritanopia (blue-blind)
#7C2D4E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a1784;
/* rgb */ color: rgb(122, 23, 132);
/* oklch */ color: oklch(42.4% 0.180 323.8);
Tailwind
colors: {
  custom: {
    50: '#a462a8',
    500: '#7a1784',
    950: '#000000',
  },
}
SCSS
$custom: #7a1784;
$custom-light: #a462a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1784",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 294.495,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4243,
    "c": 0.18,
    "h": 323.8
  },
  "luminance": 0.06416
}

Semantic roles & 50–950 ramp

primary
#7A1784
secondary
#4AB83F
accent
#ED3B4B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1784

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

Preview Lab → · Contrast checker → · Palette generator →

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