#7A2886#7A2886

#7A2886 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.163 H 322.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7A2886
RGBrgb(122, 40, 134)
HSLhsl(292, 54%, 34%)
HSVhsv(292, 70%, 53%)
CMYKcmyk(9%, 70.1%, 0%, 47.5%)
CIE-LABlab(32.65, 48.49, -35.72)
CIE-LCHlch(32.65, 60.23, 323.62°)
OKLaboklab(44.04% 0.129 -0.0996)
OKLCHoklch(44.04% 0.163 322.3)
XYZxyz(13.0875, 7.3771, 23.2842)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2886 #348628
analogous
#4B2886 #7A2886 #862863
triadic
#7A2886 #867A28 #28867A
tetradic
#7A2886 #864B28 #348628 #286386
square
#7A2886 #864B28 #348628 #286386
split-complementary
#7A2886 #638628 #28864B
monochromatic
#240C28 #4F1A57 #7A2886 #A536B5 #BF5BCE

Accessibility & contrast

On white

8.48
#7A2886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7A2886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2886
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2886#FFFFFF#000000##FFFFFF
##7A28861.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4789
Deuteranopia (green-blind)
#355084
Tritanopia (blue-blind)
#7C3854
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2886;
/* rgb */ color: rgb(122, 40, 134);
/* oklch */ color: oklch(44.0% 0.163 322.3);
Tailwind
colors: {
  custom: {
    50: '#a369aa',
    500: '#7a2886',
    950: '#000000',
  },
}
SCSS
$custom: #7a2886;
$custom-light: #a369aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2886",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 292.34,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44044,
    "c": 0.16301,
    "h": 322.3
  },
  "luminance": 0.07376
}

Semantic roles & 50–950 ramp

primary
#7A2886
secondary
#63B357
accent
#DD4A5D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2886

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

Preview Lab → · Contrast checker → · Palette generator →

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