#7A2B86#7A2B86

#7A2B86 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.159 H 322.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7A2B86
RGBrgb(122, 43, 134)
HSLhsl(292, 51%, 35%)
HSVhsv(292, 68%, 53%)
CMYKcmyk(9%, 67.9%, 0%, 47.5%)
CIE-LABlab(33.11, 47.21, -34.99)
CIE-LCHlch(33.11, 58.76, 323.45°)
OKLaboklab(44.37% 0.1255 -0.0975)
OKLCHoklch(44.37% 0.159 322.2)
XYZxyz(13.1925, 7.5873, 23.3192)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2B86 #37862B
analogous
#4D2B86 #7A2B86 #862B65
triadic
#7A2B86 #867A2B #2B867A
tetradic
#7A2B86 #864D2B #37862B #2B6586
square
#7A2B86 #864D2B #37862B #2B6586
split-complementary
#7A2B86 #65862B #2B864D
monochromatic
#260D29 #501C58 #7A2B86 #A43AB4 #BE60CC

Accessibility & contrast

On white

8.34
#7A2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7A2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2B86
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2B86#FFFFFF#000000##FFFFFF
##7A2B861.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a2b86;
/* rgb */ color: rgb(122, 43, 134);
/* oklch */ color: oklch(44.4% 0.159 322.2);
Tailwind
colors: {
  custom: {
    50: '#a36baa',
    500: '#7a2b86',
    950: '#000000',
  },
}
SCSS
$custom: #7a2b86;
$custom-light: #a36baa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2b86",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 292.088,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44373,
    "c": 0.15897,
    "h": 322.2
  },
  "luminance": 0.07587
}

Semantic roles & 50–950 ramp

primary
#7A2B86
secondary
#66B25B
accent
#DB4D60
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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