#7A397D#7A397D

#7A397D is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.7% C 0.129 H 325.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7A397D
RGBrgb(122, 57, 125)
HSLhsl(297, 37%, 36%)
HSVhsv(297, 54%, 49%)
CMYKcmyk(2.4%, 54.4%, 0%, 51%)
CIE-LABlab(35.09, 38.64, -26.26)
CIE-LCHlch(35.09, 46.72, 325.80°)
OKLaboklab(45.66% 0.1062 -0.0723)
OKLCHoklch(45.66% 0.129 325.7)
XYZxyz(13.1906, 8.5452, 20.3527)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A397D #3C7D39
analogous
#58397D #7A397D #7D395E
triadic
#7A397D #7D7A39 #397D7A
tetradic
#7A397D #7D5839 #3C7D39 #395E7D
square
#7A397D #7D5839 #3C7D39 #395E7D
split-complementary
#7A397D #5E7D39 #397D58
monochromatic
#281329 #512653 #7A397D #A34CA7 #BB72BF

Accessibility & contrast

On white

7.75
#7A397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7A397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A397D
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A397D#FFFFFF#000000##FFFFFF
##7A397D1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#45557B
Tritanopia (blue-blind)
#7D4155
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a397d;
/* rgb */ color: rgb(122, 57, 125);
/* oklch */ color: oklch(45.7% 0.129 325.7);
Tailwind
colors: {
  custom: {
    50: '#a273a3',
    500: '#7a397d',
    950: '#000000',
  },
}
SCSS
$custom: #7a397d;
$custom-light: #a273a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a397d",
  "rgb": {
    "r": 122,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 297.353,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45658,
    "c": 0.12851,
    "h": 325.7
  },
  "luminance": 0.08544
}

Semantic roles & 50–950 ramp

primary
#7A397D
secondary
#6DA86A
accent
#CD5A60
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7A397D

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

Preview Lab → · Contrast checker → · Palette generator →

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