#7A2E89#7A2E89

#7A2E89 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.158 H 320.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7A2E89
RGBrgb(122, 46, 137)
HSLhsl(290, 50%, 36%)
HSVhsv(290, 66%, 54%)
CMYKcmyk(10.9%, 66.4%, 0%, 46.3%)
CIE-LABlab(33.77, 46.46, -35.79)
CIE-LCHlch(33.77, 58.65, 322.39°)
OKLaboklab(44.91% 0.1219 -0.0999)
OKLCHoklch(44.91% 0.158 320.7)
XYZxyz(13.5179, 7.8984, 24.4746)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2E89 #3D892E
analogous
#4C2E89 #7A2E89 #892E6A
triadic
#7A2E89 #897A2E #2E897A
tetradic
#7A2E89 #894C2E #3D892E #2E6A89
square
#7A2E89 #894C2E #3D892E #2E6A89
split-complementary
#7A2E89 #6A892E #2E894C
monochromatic
#280F2D #511F5B #7A2E89 #A33DB7 #BB66CC

Accessibility & contrast

On white

8.14
#7A2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7A2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2E89
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2E89#FFFFFF#000000##FFFFFF
##7A2E891.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144A8C
Deuteranopia (green-blind)
#375287
Tritanopia (blue-blind)
#7B3D57
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a2e89;
/* rgb */ color: rgb(122, 46, 137);
/* oklch */ color: oklch(44.9% 0.158 320.7);
Tailwind
colors: {
  custom: {
    50: '#a36dac',
    500: '#7a2e89',
    950: '#000000',
  },
}
SCSS
$custom: #7a2e89;
$custom-light: #a36dac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2e89",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 290.11,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44909,
    "c": 0.15761,
    "h": 320.7
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#7A2E89
secondary
#6EB260
accent
#D94F65
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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