#7A347E#7A347E

#7A347E is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.0% C 0.138 H 325.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7A347E
RGBrgb(122, 52, 126)
HSLhsl(297, 42%, 35%)
HSVhsv(297, 59%, 49%)
CMYKcmyk(3.2%, 58.7%, 0%, 50.6%)
CIE-LABlab(34.19, 41.40, -28.30)
CIE-LCHlch(34.19, 50.15, 325.64°)
OKLaboklab(45.01% 0.1135 -0.0782)
OKLCHoklch(45.01% 0.138 325.4)
XYZxyz(13.0196, 8.1006, 20.6124)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A347E #387E34
analogous
#55347E #7A347E #7E345D
triadic
#7A347E #7E7A34 #347E7A
tetradic
#7A347E #7E5534 #387E34 #345D7E
square
#7A347E #7E5534 #387E34 #345D7E
split-complementary
#7A347E #5D7E34 #347E55
monochromatic
#261027 #502253 #7A347E #A446A9 #BD6BC2

Accessibility & contrast

On white

8.02
#7A347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7A347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A347E
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A347E#FFFFFF#000000##FFFFFF
##7A347E1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B80
Deuteranopia (green-blind)
#41537C
Tritanopia (blue-blind)
#7D3E54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a347e;
/* rgb */ color: rgb(122, 52, 126);
/* oklch */ color: oklch(45.0% 0.138 325.4);
Tailwind
colors: {
  custom: {
    50: '#a370a3',
    500: '#7a347e',
    950: '#000000',
  },
}
SCSS
$custom: #7a347e;
$custom-light: #a370a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a347e",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 296.757,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.13781,
    "h": 325.4
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#7A347E
secondary
#68AA64
accent
#D1565D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7A347E

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

Preview Lab → · Contrast checker → · Palette generator →

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