#7E347E#7E347E

#7E347E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.6% C 0.140 H 327.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7E347E
RGBrgb(126, 52, 126)
HSLhsl(300, 42%, 35%)
HSVhsv(300, 59%, 49%)
CMYKcmyk(0%, 58.7%, 0%, 50.6%)
CIE-LABlab(34.80, 42.54, -27.30)
CIE-LCHlch(34.80, 50.55, 327.31°)
OKLaboklab(45.58% 0.1184 -0.0752)
OKLCHoklch(45.58% 0.14 327.6)
XYZxyz(13.5979, 8.3988, 20.6395)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E347E #347E34
analogous
#59347E #7E347E #7E3459
triadic
#7E347E #7E7E34 #347E7E
tetradic
#7E347E #7E5934 #347E34 #34597E
square
#7E347E #7E5934 #347E34 #34597E
split-complementary
#7E347E #597E34 #347E59
monochromatic
#271027 #532253 #7E347E #A946A9 #C26BC2

Accessibility & contrast

On white

7.84
#7E347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7E347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E347E
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E347E#FFFFFF#000000##FFFFFF
##7E347E1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C80
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#823D54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e347e;
/* rgb */ color: rgb(126, 52, 126);
/* oklch */ color: oklch(45.6% 0.140 327.6);
Tailwind
colors: {
  custom: {
    50: '#a670a3',
    500: '#7e347e',
    950: '#000000',
  },
}
SCSS
$custom: #7e347e;
$custom-light: #a670a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e347e",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 300,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45582,
    "c": 0.14025,
    "h": 327.6
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#7E347E
secondary
#64AA64
accent
#D15656
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #7E347E

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

Preview Lab → · Contrast checker → · Palette generator →

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