#7A3C97#7A3C97

#7A3C97 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.6% C 0.151 H 313.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7A3C97
RGBrgb(122, 60, 151)
HSLhsl(281, 43%, 41%)
HSVhsv(281, 60%, 59%)
CMYKcmyk(19.2%, 60.3%, 0%, 40.8%)
CIE-LABlab(37.12, 42.58, -39.02)
CIE-LCHlch(37.12, 57.75, 317.50°)
OKLaboklab(47.61% 0.1041 -0.1094)
OKLCHoklch(47.61% 0.151 313.6)
XYZxyz(15.2269, 9.6041, 30.3238)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3C97 #59973C
analogous
#4D3C97 #7A3C97 #973C87
triadic
#7A3C97 #977A3C #3C977A
tetradic
#7A3C97 #974D3C #59973C #3C8797
square
#7A3C97 #974D3C #59973C #3C8797
split-complementary
#7A3C97 #87973C #3C974D
monochromatic
#33193F #572B6B #7A3C97 #9B55BB #B581CD

Accessibility & contrast

On white

7.19
#7A3C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7A3C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3C97
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3C97#FFFFFF#000000##FFFFFF
##7A3C971.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#385995
Tritanopia (blue-blind)
#774C64
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7a3c97;
/* rgb */ color: rgb(122, 60, 151);
/* oklch */ color: oklch(47.6% 0.151 313.6);
Tailwind
colors: {
  custom: {
    50: '#a375b6',
    500: '#7a3c97',
    950: '#000000',
  },
}
SCSS
$custom: #7a3c97;
$custom-light: #a375b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3c97",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 280.879,
    "s": 43.128,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47612,
    "c": 0.15101,
    "h": 313.6
  },
  "luminance": 0.09604
}

Semantic roles & 50–950 ramp

primary
#7A3C97
secondary
#8CB778
accent
#D3557D
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #7A3C97

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

Preview Lab → · Contrast checker → · Palette generator →

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