#7A2086#7A2086

#7A2086 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.173 H 322.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7A2086
RGBrgb(122, 32, 134)
HSLhsl(293, 61%, 33%)
HSVhsv(293, 76%, 53%)
CMYKcmyk(9%, 76.1%, 0%, 47.5%)
CIE-LABlab(31.56, 51.58, -37.46)
CIE-LCHlch(31.56, 63.75, 324.01°)
OKLaboklab(43.27% 0.1374 -0.1047)
OKLCHoklch(43.27% 0.173 322.7)
XYZxyz(12.8452, 6.8926, 23.2035)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2086 #2C8620
analogous
#472086 #7A2086 #86205F
triadic
#7A2086 #867A20 #20867A
tetradic
#7A2086 #864720 #2C8620 #205F86
square
#7A2086 #864720 #2C8620 #205F86
split-complementary
#7A2086 #5F8620 #208647
monochromatic
#200823 #4D1455 #7A2086 #A72CB7 #C44CD4

Accessibility & contrast

On white

8.83
#7A2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7A2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2086
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2086#FFFFFF#000000##FFFFFF
##7A20861.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#304E84
Tritanopia (blue-blind)
#7C3352
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2086;
/* rgb */ color: rgb(122, 32, 134);
/* oklch */ color: oklch(43.3% 0.173 322.7);
Tailwind
colors: {
  custom: {
    50: '#a466aa',
    500: '#7a2086',
    950: '#000000',
  },
}
SCSS
$custom: #7a2086;
$custom-light: #a466aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2086",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 292.941,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43265,
    "c": 0.17272,
    "h": 322.7
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#7A2086
secondary
#57B74B
accent
#E54356
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A2086

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

Preview Lab → · Contrast checker → · Palette generator →

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