#7E347A#7E347A

#7E347A is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.4% C 0.137 H 329.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#7E347A
RGBrgb(126, 52, 122)
HSLhsl(303, 42%, 35%)
HSVhsv(303, 59%, 49%)
CMYKcmyk(0%, 58.7%, 3.2%, 50.6%)
CIE-LABlab(34.60, 41.79, -25.13)
CIE-LCHlch(34.60, 48.76, 328.98°)
OKLaboklab(45.37% 0.1179 -0.0689)
OKLCHoklch(45.37% 0.137 329.7)
XYZxyz(13.3449, 8.2976, 19.3073)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E347A #347E38
analogous
#5D347E #7E347A #7E3455
triadic
#7E347A #7A7E34 #347A7E
tetradic
#7E347A #7E5D34 #347E38 #34557E
square
#7E347A #7E5D34 #347E38 #34557E
split-complementary
#7E347A #557E34 #347E5D
monochromatic
#271026 #532250 #7E347A #A946A4 #C26BBD

Accessibility & contrast

On white

7.90
#7E347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7E347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E347A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E347A#FFFFFF#000000##FFFFFF
##7E347A1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7C
Deuteranopia (green-blind)
#465578
Tritanopia (blue-blind)
#823B52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e347a;
/* rgb */ color: rgb(126, 52, 122);
/* oklch */ color: oklch(45.4% 0.137 329.7);
Tailwind
colors: {
  custom: {
    50: '#a670a0',
    500: '#7e347a',
    950: '#000000',
  },
}
SCSS
$custom: #7e347a;
$custom-light: #a670a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e347a",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 303.243,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45366,
    "c": 0.13656,
    "h": 329.7
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#7E347A
secondary
#64AA68
accent
#D15D56
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10080F
muted
#7F7B7E

Preview Lab

Preview with #7E347A

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

Preview Lab → · Contrast checker → · Palette generator →

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