#7E349B#7E349B

#7E349B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.3% C 0.169 H 315.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7E349B
RGBrgb(126, 52, 155)
HSLhsl(283, 50%, 41%)
HSVhsv(283, 66%, 61%)
CMYKcmyk(18.7%, 66.5%, 0%, 39.2%)
CIE-LABlab(36.48, 48.42, -42.44)
CIE-LCHlch(36.48, 64.39, 318.77°)
OKLaboklab(47.34% 0.1194 -0.1192)
OKLCHoklch(47.34% 0.169 315)
XYZxyz(15.7476, 9.2587, 31.9616)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E349B #519B34
analogous
#4B349B #7E349B #9B3484
triadic
#7E349B #9B7E34 #349B7E
tetradic
#7E349B #9B4B34 #519B34 #34849B
square
#7E349B #9B4B34 #519B34 #34849B
split-complementary
#7E349B #849B34 #349B4B
monochromatic
#33153F #59256D #7E349B #A04AC2 #B878D2

Accessibility & contrast

On white

7.36
#7E349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7E349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E349B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E349B#FFFFFF#000000##FFFFFF
##7E349B1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03529E
Deuteranopia (green-blind)
#325899
Tritanopia (blue-blind)
#7C4863
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e349b;
/* rgb */ color: rgb(126, 52, 155);
/* oklch */ color: oklch(47.3% 0.169 315.0);
Tailwind
colors: {
  custom: {
    50: '#a771b9',
    500: '#7e349b',
    950: '#000000',
  },
}
SCSS
$custom: #7e349b;
$custom-light: #a771b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e349b",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 283.107,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.16873,
    "h": 315
  },
  "luminance": 0.09258
}

Semantic roles & 50–950 ramp

primary
#7E349B
secondary
#85BA71
accent
#D94F76
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7E349B

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

Preview Lab → · Contrast checker → · Palette generator →

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