#7A2C86#7A2C86

#7A2C86 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.158 H 322.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7A2C86
RGBrgb(122, 44, 134)
HSLhsl(292, 51%, 35%)
HSVhsv(292, 67%, 53%)
CMYKcmyk(9%, 67.2%, 0%, 47.5%)
CIE-LABlab(33.27, 46.77, -34.74)
CIE-LCHlch(33.27, 58.26, 323.39°)
OKLaboklab(44.49% 0.1243 -0.0968)
OKLCHoklch(44.49% 0.158 322.1)
XYZxyz(13.2293, 7.6609, 23.3315)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2C86 #38862C
analogous
#4D2C86 #7A2C86 #862C65
triadic
#7A2C86 #867A2C #2C867A
tetradic
#7A2C86 #864D2C #38862C #2C6586
square
#7A2C86 #864D2C #38862C #2C6586
split-complementary
#7A2C86 #65862C #2C864D
monochromatic
#260E2A #501D58 #7A2C86 #A43BB4 #BD61CB

Accessibility & contrast

On white

8.29
#7A2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7A2C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2C86
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2C86#FFFFFF#000000##FFFFFF
##7A2C861.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154989
Deuteranopia (green-blind)
#375184
Tritanopia (blue-blind)
#7B3B55
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a2c86;
/* rgb */ color: rgb(122, 44, 134);
/* oklch */ color: oklch(44.5% 0.158 322.1);
Tailwind
colors: {
  custom: {
    50: '#a36baa',
    500: '#7a2c86',
    950: '#000000',
  },
}
SCSS
$custom: #7a2c86;
$custom-light: #a36baa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2c86",
  "rgb": {
    "r": 122,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 292,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44487,
    "c": 0.15758,
    "h": 322.1
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#7A2C86
secondary
#68B15C
accent
#DA4E60
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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