#7A2B88#7A2B88

#7A2B88 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.161 H 321.3°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7A2B88
RGBrgb(122, 43, 136)
HSLhsl(291, 52%, 35%)
HSVhsv(291, 68%, 53%)
CMYKcmyk(10.3%, 68.4%, 0%, 46.7%)
CIE-LABlab(33.23, 47.60, -36.04)
CIE-LCHlch(33.23, 59.71, 322.87°)
OKLaboklab(44.5% 0.1255 -0.1006)
OKLCHoklch(44.5% 0.161 321.3)
XYZxyz(13.3334, 7.6436, 24.0608)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2B88 #39882B
analogous
#4C2B88 #7A2B88 #882B67
triadic
#7A2B88 #887A2B #2B887A
tetradic
#7A2B88 #884C2B #39882B #2B6788
square
#7A2B88 #884C2B #39882B #2B6788
split-complementary
#7A2B88 #67882B #2B884C
monochromatic
#270E2B #501C5A #7A2B88 #A43AB6 #BD61CD

Accessibility & contrast

On white

8.30
#7A2B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2B88
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2B88#FFFFFF#000000##FFFFFF
##7A2B881.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F488B
Deuteranopia (green-blind)
#355186
Tritanopia (blue-blind)
#7B3B56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a2b88;
/* rgb */ color: rgb(122, 43, 136);
/* oklch */ color: oklch(44.5% 0.161 321.3);
Tailwind
colors: {
  custom: {
    50: '#a36bab',
    500: '#7a2b88',
    950: '#000000',
  },
}
SCSS
$custom: #7a2b88;
$custom-light: #a36bab;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2b88",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 290.968,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.445,
    "c": 0.16085,
    "h": 321.3
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#7A2B88
secondary
#69B35C
accent
#DB4C62
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2B88

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

Preview Lab → · Contrast checker → · Palette generator →

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