#7B1784#7B1784

#7B1784 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.180 H 324.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7B1784
RGBrgb(123, 23, 132)
HSLhsl(295, 70%, 30%)
HSVhsv(295, 83%, 52%)
CMYKcmyk(6.8%, 82.6%, 0%, 48.2%)
CIE-LABlab(30.62, 54.27, -37.71)
CIE-LCHlch(30.62, 66.09, 325.21°)
OKLaboklab(42.59% 0.1465 -0.1053)
OKLCHoklch(42.59% 0.18 324.3)
XYZxyz(12.6393, 6.4905, 22.4124)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1784 #208417
analogous
#441784 #7B1784 #841756
triadic
#7B1784 #847B17 #17847B
tetradic
#7B1784 #844417 #208417 #175684
square
#7B1784 #844417 #208417 #175684
split-complementary
#7B1784 #568417 #178444
monochromatic
#1A051C #4A0E50 #7B1784 #AC20B8 #CF39DC

Accessibility & contrast

On white

9.14
#7B1784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1784
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1784#FFFFFF#000000##FFFFFF
##7B17841.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#2E4C82
Tritanopia (blue-blind)
#7D2D4E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b1784;
/* rgb */ color: rgb(123, 23, 132);
/* oklch */ color: oklch(42.6% 0.180 324.3);
Tailwind
colors: {
  custom: {
    50: '#a562a8',
    500: '#7b1784',
    950: '#000000',
  },
}
SCSS
$custom: #7b1784;
$custom-light: #a562a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1784",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 295.046,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42588,
    "c": 0.18043,
    "h": 324.3
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

primary
#7B1784
secondary
#49B83F
accent
#ED3B49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1784

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

Preview Lab → · Contrast checker → · Palette generator →

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