#7A6282#7A6282

#7A6282 is a mid, muted purple. Relative luminance 0.145; OKLCH L 53.1% C 0.057 H 317.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7A6282
RGBrgb(122, 98, 130)
HSLhsl(285, 14%, 45%)
HSVhsv(285, 25%, 51%)
CMYKcmyk(6.2%, 24.6%, 0%, 49%)
CIE-LABlab(44.92, 15.90, -14.15)
CIE-LCHlch(44.92, 21.29, 318.32°)
OKLaboklab(53.14% 0.042 -0.0383)
OKLCHoklch(53.14% 0.057 317.6)
XYZxyz(16.4224, 14.4849, 23.0455)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6282 #6A8262
analogous
#6A6282 #7A6282 #82627A
triadic
#7A6282 #827A62 #62827A
tetradic
#7A6282 #826A62 #6A8262 #627A82
square
#7A6282 #826A62 #6A8262 #627A82
split-complementary
#7A6282 #7A8262 #62826A
monochromatic
#392D3C #59485F #7A6282 #9881A0 #B5A4BA

Accessibility & contrast

On white

5.39
#7A6282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7A6282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6282
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6282#FFFFFF#000000##FFFFFF
##7A62821.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6983
Deuteranopia (green-blind)
#636B81
Tritanopia (blue-blind)
#7A656D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a6282;
/* rgb */ color: rgb(122, 98, 130);
/* oklch */ color: oklch(53.1% 0.057 317.6);
Tailwind
colors: {
  custom: {
    50: '#a08ea6',
    500: '#7a6282',
    950: '#000000',
  },
}
SCSS
$custom: #7a6282;
$custom-light: #a08ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6282",
  "rgb": {
    "r": 122,
    "g": 98,
    "b": 130
  },
  "hsl": {
    "h": 285,
    "s": 14.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53136,
    "c": 0.05684,
    "h": 317.6
  },
  "luminance": 0.14485
}

Semantic roles & 50–950 ramp

primary
#7A6282
secondary
#9BA997
accent
#B77182
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0C0F
muted
#7E7D7F

Preview Lab

Preview with #7A6282

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

Preview Lab → · Contrast checker → · Palette generator →

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