#7E3083#7E3083

#7E3083 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.4% C 0.151 H 325.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7E3083
RGBrgb(126, 48, 131)
HSLhsl(296, 46%, 35%)
HSVhsv(296, 63%, 51%)
CMYKcmyk(3.8%, 63.4%, 0%, 48.6%)
CIE-LABlab(34.37, 45.40, -31.08)
CIE-LCHlch(34.37, 55.02, 325.60°)
OKLaboklab(45.36% 0.1242 -0.0861)
OKLCHoklch(45.36% 0.151 325.3)
XYZxyz(13.7576, 8.1890, 22.3243)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3083 #358330
analogous
#553083 #7E3083 #83305E
triadic
#7E3083 #837E30 #30837E
tetradic
#7E3083 #835530 #358330 #305E83
square
#7E3083 #835530 #358330 #305E83
split-complementary
#7E3083 #5E8330 #308355
monochromatic
#280F29 #532056 #7E3083 #A940B0 #C166C7

Accessibility & contrast

On white

7.96
#7E3083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7E3083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3083
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3083#FFFFFF#000000##FFFFFF
##7E30831.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B86
Deuteranopia (green-blind)
#3F5481
Tritanopia (blue-blind)
#813C55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e3083;
/* rgb */ color: rgb(126, 48, 131);
/* oklch */ color: oklch(45.4% 0.151 325.3);
Tailwind
colors: {
  custom: {
    50: '#a66ea7',
    500: '#7e3083',
    950: '#000000',
  },
}
SCSS
$custom: #7e3083;
$custom-light: #a66ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3083",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 131
  },
  "hsl": {
    "h": 296.386,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45359,
    "c": 0.15109,
    "h": 325.3
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#7E3083
secondary
#65AE61
accent
#D6525A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7E3083

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

Preview Lab → · Contrast checker → · Palette generator →

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