#7A4E89#7A4E89

#7A4E89 is a mid, moderate purple. Relative luminance 0.114; OKLCH L 49.7% C 0.104 H 317.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7A4E89
RGBrgb(122, 78, 137)
HSLhsl(285, 27%, 42%)
HSVhsv(285, 43%, 54%)
CMYKcmyk(10.9%, 43.1%, 0%, 46.3%)
CIE-LABlab(40.23, 29.39, -25.61)
CIE-LCHlch(40.23, 38.98, 318.94°)
OKLaboklab(49.67% 0.0762 -0.0706)
OKLCHoklch(49.67% 0.104 317.2)
XYZxyz(15.2651, 11.3929, 25.0570)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4E89 #5D894E
analogous
#5D4E89 #7A4E89 #894E7B
triadic
#7A4E89 #897A4E #4E897A
tetradic
#7A4E89 #895D4E #5D894E #4E7B89
square
#7A4E89 #895D4E #5D894E #4E7B89
split-complementary
#7A4E89 #7B894E #4E895D
monochromatic
#35223B #573862 #7A4E89 #9A6AAA #B491C0

Accessibility & contrast

On white

6.41
#7A4E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7A4E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4E89
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4E89#FFFFFF#000000##FFFFFF
##7A4E891.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8B
Deuteranopia (green-blind)
#506087
Tritanopia (blue-blind)
#7A5665
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a4e89;
/* rgb */ color: rgb(122, 78, 137);
/* oklch */ color: oklch(49.7% 0.104 317.2);
Tailwind
colors: {
  custom: {
    50: '#a180ab',
    500: '#7a4e89',
    950: '#000000',
  },
}
SCSS
$custom: #7a4e89;
$custom-light: #a180ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4e89",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 284.746,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.10386,
    "h": 317.2
  },
  "luminance": 0.11392
}

Semantic roles & 50–950 ramp

primary
#7A4E89
secondary
#90AD86
accent
#C4647C
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7A4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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