#7A319A#7A319A

#7A319A is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.170 H 313.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7A319A
RGBrgb(122, 49, 154)
HSLhsl(282, 52%, 40%)
HSVhsv(282, 68%, 60%)
CMYKcmyk(20.8%, 68.2%, 0%, 39.6%)
CIE-LABlab(35.34, 48.66, -43.70)
CIE-LCHlch(35.34, 65.40, 318.08°)
OKLaboklab(46.38% 0.1177 -0.123)
OKLCHoklch(46.38% 0.17 313.7)
XYZxyz(14.9561, 8.6678, 31.4508)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A319A #519A31
analogous
#45319A #7A319A #9A3186
triadic
#7A319A #9A7A31 #319A7A
tetradic
#7A319A #9A4531 #519A31 #31869A
square
#7A319A #9A4531 #519A31 #31869A
split-complementary
#7A319A #869A31 #319A45
monochromatic
#30133D #55226C #7A319A #9D45C4 #B573D2

Accessibility & contrast

On white

7.68
#7A319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7A319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A319A
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A319A#FFFFFF#000000##FFFFFF
##7A319A1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#2B5598
Tritanopia (blue-blind)
#774661
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a319a;
/* rgb */ color: rgb(122, 49, 154);
/* oklch */ color: oklch(46.4% 0.170 313.7);
Tailwind
colors: {
  custom: {
    50: '#a46fb8',
    500: '#7a319a',
    950: '#000000',
  },
}
SCSS
$custom: #7a319a;
$custom-light: #a46fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a319a",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 281.714,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46381,
    "c": 0.17028,
    "h": 313.7
  },
  "luminance": 0.08667
}

Semantic roles & 50–950 ramp

primary
#7A319A
secondary
#84BA6C
accent
#DB4D78
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7A319A

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

Preview Lab → · Contrast checker → · Palette generator →

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