#7A3497#7A3497

#7A3497 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.5% C 0.163 H 314.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7A3497
RGBrgb(122, 52, 151)
HSLhsl(282, 49%, 40%)
HSVhsv(282, 66%, 59%)
CMYKcmyk(19.2%, 65.6%, 0%, 40.8%)
CIE-LABlab(35.65, 46.59, -41.37)
CIE-LCHlch(35.65, 62.31, 318.40°)
OKLaboklab(46.55% 0.1143 -0.1162)
OKLCHoklch(46.55% 0.163 314.5)
XYZxyz(14.8390, 8.8284, 30.1945)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3497 #519734
analogous
#493497 #7A3497 #973483
triadic
#7A3497 #977A34 #34977A
tetradic
#7A3497 #974934 #519734 #348397
square
#7A3497 #974934 #519734 #348397
split-complementary
#7A3497 #839734 #349749
monochromatic
#30153C #552469 #7A3497 #9D48C0 #B576D0

Accessibility & contrast

On white

7.59
#7A3497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7A3497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3497
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3497#FFFFFF#000000##FFFFFF
##7A34971.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08509A
Deuteranopia (green-blind)
#315695
Tritanopia (blue-blind)
#784761
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a3497;
/* rgb */ color: rgb(122, 52, 151);
/* oklch */ color: oklch(46.5% 0.163 314.5);
Tailwind
colors: {
  custom: {
    50: '#a370b6',
    500: '#7a3497',
    950: '#000000',
  },
}
SCSS
$custom: #7a3497;
$custom-light: #a370b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3497",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 282.424,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46546,
    "c": 0.16302,
    "h": 314.5
  },
  "luminance": 0.08828
}

Semantic roles & 50–950 ramp

primary
#7A3497
secondary
#84B86F
accent
#D84F78
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #7A3497

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

Preview Lab → · Contrast checker → · Palette generator →

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