#7A3495#7A3495

#7A3495 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.4% C 0.161 H 315.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7A3495
RGBrgb(122, 52, 149)
HSLhsl(283, 48%, 39%)
HSVhsv(283, 65%, 58%)
CMYKcmyk(18.1%, 65.1%, 0%, 41.6%)
CIE-LABlab(35.53, 46.16, -40.35)
CIE-LCHlch(35.53, 61.31, 318.84°)
OKLaboklab(46.41% 0.1144 -0.1133)
OKLCHoklch(46.41% 0.161 315.3)
XYZxyz(14.6780, 8.7640, 29.3464)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3495 #4F9534
analogous
#4A3495 #7A3495 #953480
triadic
#7A3495 #957A34 #34957A
tetradic
#7A3495 #954A34 #4F9534 #348095
square
#7A3495 #954A34 #4F9534 #348095
split-complementary
#7A3495 #809534 #34954A
monochromatic
#30143A #552468 #7A3495 #9E47BF #B675CF

Accessibility & contrast

On white

7.63
#7A3495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7A3495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3495
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3495#FFFFFF#000000##FFFFFF
##7A34951.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4F98
Deuteranopia (green-blind)
#335593
Tritanopia (blue-blind)
#784660
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a3495;
/* rgb */ color: rgb(122, 52, 149);
/* oklch */ color: oklch(46.4% 0.161 315.3);
Tailwind
colors: {
  custom: {
    50: '#a370b5',
    500: '#7a3495',
    950: '#000000',
  },
}
SCSS
$custom: #7a3495;
$custom-light: #a370b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3495",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 283.299,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46414,
    "c": 0.16096,
    "h": 315.3
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#7A3495
secondary
#82B76E
accent
#D85076
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #7A3495

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

Preview Lab → · Contrast checker → · Palette generator →

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