#7A6281#7A6281

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

Color values

HEX#7A6281
RGBrgb(122, 98, 129)
HSLhsl(286, 14%, 45%)
HSVhsv(286, 24%, 51%)
CMYKcmyk(5.4%, 24%, 0%, 49.4%)
CIE-LABlab(44.88, 15.68, -13.61)
CIE-LCHlch(44.88, 20.76, 319.05°)
OKLaboklab(53.1% 0.0416 -0.0368)
OKLCHoklch(53.1% 0.056 318.5)
XYZxyz(16.3556, 14.4582, 22.6937)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6281 #698162
analogous
#6B6281 #7A6281 #816279
triadic
#7A6281 #817A62 #62817A
tetradic
#7A6281 #816B62 #698162 #627981
square
#7A6281 #816B62 #698162 #627981
split-complementary
#7A6281 #798162 #62816B
monochromatic
#382D3B #59485E #7A6281 #98819F #B5A4BA

Accessibility & contrast

On white

5.40
#7A6281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7A6281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6281
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6281#FFFFFF#000000##FFFFFF
##7A62811.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6982
Deuteranopia (green-blind)
#646B80
Tritanopia (blue-blind)
#7A656D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a6281;
/* rgb */ color: rgb(122, 98, 129);
/* oklch */ color: oklch(53.1% 0.056 318.5);
Tailwind
colors: {
  custom: {
    50: '#a08ea5',
    500: '#7a6281',
    950: '#000000',
  },
}
SCSS
$custom: #7a6281;
$custom-light: #a08ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6281",
  "rgb": {
    "r": 122,
    "g": 98,
    "b": 129
  },
  "hsl": {
    "h": 286.452,
    "s": 13.656,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53095,
    "c": 0.05558,
    "h": 318.5
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#7A6281
secondary
#9AA996
accent
#B67181
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0C0F
muted
#7E7D7F

Preview Lab

Preview with #7A6281

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

Preview Lab → · Contrast checker → · Palette generator →

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