#7A397C#7A397C

#7A397C is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.6% C 0.128 H 326.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7A397C
RGBrgb(122, 57, 124)
HSLhsl(298, 37%, 35%)
HSVhsv(298, 54%, 49%)
CMYKcmyk(1.6%, 54%, 0%, 51.4%)
CIE-LABlab(35.04, 38.44, -25.72)
CIE-LCHlch(35.04, 46.25, 326.21°)
OKLaboklab(45.6% 0.1061 -0.0708)
OKLCHoklch(45.6% 0.128 326.3)
XYZxyz(13.1270, 8.5198, 20.0179)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A397C #3B7C39
analogous
#58397C #7A397C #7C395C
triadic
#7A397C #7C7A39 #397C7A
tetradic
#7A397C #7C5839 #3B7C39 #395C7C
square
#7A397C #7C5839 #3B7C39 #395C7C
split-complementary
#7A397C #5C7C39 #397C58
monochromatic
#271228 #512652 #7A397C #A34CA6 #BC71BE

Accessibility & contrast

On white

7.77
#7A397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7A397C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A397C
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A397C#FFFFFF#000000##FFFFFF
##7A397C1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7E
Deuteranopia (green-blind)
#46557A
Tritanopia (blue-blind)
#7D4155
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a397c;
/* rgb */ color: rgb(122, 57, 124);
/* oklch */ color: oklch(45.6% 0.128 326.3);
Tailwind
colors: {
  custom: {
    50: '#a273a2',
    500: '#7a397c',
    950: '#000000',
  },
}
SCSS
$custom: #7a397c;
$custom-light: #a273a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a397c",
  "rgb": {
    "r": 122,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 298.209,
    "s": 37.017,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45604,
    "c": 0.12752,
    "h": 326.3
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#7A397C
secondary
#6CA76A
accent
#CD5B5E
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7A397C

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

Preview Lab → · Contrast checker → · Palette generator →

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