#7E347D#7E347D

#7E347D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.5% C 0.139 H 328.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7E347D
RGBrgb(126, 52, 125)
HSLhsl(301, 42%, 35%)
HSVhsv(301, 59%, 49%)
CMYKcmyk(0%, 58.7%, 0.8%, 50.6%)
CIE-LABlab(34.75, 42.35, -26.76)
CIE-LCHlch(34.75, 50.10, 327.71°)
OKLaboklab(45.53% 0.1183 -0.0736)
OKLCHoklch(45.53% 0.139 328.1)
XYZxyz(13.5337, 8.3731, 20.3014)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E347D #347E35
analogous
#5A347E #7E347D #7E3458
triadic
#7E347D #7D7E34 #347D7E
tetradic
#7E347D #7E5A34 #347E35 #34587E
square
#7E347D #7E5A34 #347E35 #34587E
split-complementary
#7E347D #587E34 #347E5A
monochromatic
#271027 #532252 #7E347D #A946A8 #C26BC1

Accessibility & contrast

On white

7.85
#7E347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7E347D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E347D
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E347D#FFFFFF#000000##FFFFFF
##7E347D1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4B7F
Deuteranopia (green-blind)
#45557B
Tritanopia (blue-blind)
#823C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e347d;
/* rgb */ color: rgb(126, 52, 125);
/* oklch */ color: oklch(45.5% 0.139 328.1);
Tailwind
colors: {
  custom: {
    50: '#a670a3',
    500: '#7e347d',
    950: '#000000',
  },
}
SCSS
$custom: #7e347d;
$custom-light: #a670a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e347d",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 300.811,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45528,
    "c": 0.13933,
    "h": 328.1
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#7E347D
secondary
#64AA65
accent
#D15856
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #7E347D

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

Preview Lab → · Contrast checker → · Palette generator →

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