#7A159E#7A159E

#7A159E is a dark, highly saturated purple. Relative luminance 0.071; OKLCH L 44.2% C 0.203 H 314.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7A159E
RGBrgb(122, 21, 158)
HSLhsl(284, 77%, 35%)
HSVhsv(284, 87%, 62%)
CMYKcmyk(22.8%, 86.7%, 0%, 38%)
CIE-LABlab(32.13, 59.49, -51.30)
CIE-LCHlch(32.13, 78.55, 319.23°)
OKLaboklab(44.2% 0.142 -0.1452)
OKLCHoklch(44.2% 0.203 314.4)
XYZxyz(14.4647, 7.1431, 32.9579)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A159E #399E15
analogous
#36159E #7A159E #9E157D
triadic
#7A159E #9E7A15 #159E7A
tetradic
#7A159E #9E3615 #399E15 #157D9E
square
#7A159E #9E3615 #399E15 #157D9E
split-complementary
#7A159E #7D9E15 #159E36
monochromatic
#270732 #500E68 #7A159E #A41CD4 #BD47E7

Accessibility & contrast

On white

8.65
#7A159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7A159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A159E
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A159E#FFFFFF#000000##FFFFFF
##7A159E1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#004E9B
Tritanopia (blue-blind)
#763A5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a159e;
/* rgb */ color: rgb(122, 21, 158);
/* oklch */ color: oklch(44.2% 0.203 314.4);
Tailwind
colors: {
  custom: {
    50: '#a563bb',
    500: '#7a159e',
    950: '#000000',
  },
}
SCSS
$custom: #7a159e;
$custom-light: #a563bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a159e",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 284.234,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44204,
    "c": 0.20307,
    "h": 314.4
  },
  "luminance": 0.07143
}

Semantic roles & 50–950 ramp

primary
#7A159E
secondary
#69C747
accent
#F33567
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A159E

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

Preview Lab → · Contrast checker → · Palette generator →

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