#7E347C#7E347C

#7E347C is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.5% C 0.138 H 328.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7E347C
RGBrgb(126, 52, 124)
HSLhsl(302, 42%, 35%)
HSVhsv(302, 59%, 49%)
CMYKcmyk(0%, 58.7%, 1.6%, 50.6%)
CIE-LABlab(34.70, 42.16, -26.22)
CIE-LCHlch(34.70, 49.65, 328.13°)
OKLaboklab(45.47% 0.1181 -0.0721)
OKLCHoklch(45.47% 0.138 328.6)
XYZxyz(13.4701, 8.3477, 19.9667)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E347C #347E36
analogous
#5B347E #7E347C #7E3457
triadic
#7E347C #7C7E34 #347C7E
tetradic
#7E347C #7E5B34 #347E36 #34577E
square
#7E347C #7E5B34 #347E36 #34577E
split-complementary
#7E347C #577E34 #347E5B
monochromatic
#271027 #532251 #7E347C #A946A7 #C26BBF

Accessibility & contrast

On white

7.87
#7E347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E347C
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E347C#FFFFFF#000000##FFFFFF
##7E347C1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e347c;
/* rgb */ color: rgb(126, 52, 124);
/* oklch */ color: oklch(45.5% 0.138 328.6);
Tailwind
colors: {
  custom: {
    50: '#a670a2',
    500: '#7e347c',
    950: '#000000',
  },
}
SCSS
$custom: #7e347c;
$custom-light: #a670a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e347c",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 301.622,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45473,
    "c": 0.13839,
    "h": 328.6
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#7E347C
secondary
#64AA66
accent
#D15A56
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #7E347C

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

Preview Lab → · Contrast checker → · Palette generator →

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