#7E2E83#7E2E83

#7E2E83 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.154 H 325.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7E2E83
RGBrgb(126, 46, 131)
HSLhsl(296, 48%, 35%)
HSVhsv(296, 65%, 51%)
CMYKcmyk(3.8%, 64.9%, 0%, 48.6%)
CIE-LABlab(34.04, 46.31, -31.60)
CIE-LCHlch(34.04, 56.07, 325.69°)
OKLaboklab(45.12% 0.1267 -0.0876)
OKLCHoklch(45.12% 0.154 325.3)
XYZxyz(13.6776, 8.0291, 22.2977)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E83 #33832E
analogous
#542E83 #7E2E83 #832E5D
triadic
#7E2E83 #837E2E #2E837E
tetradic
#7E2E83 #83542E #33832E #2E5D83
square
#7E2E83 #83542E #33832E #2E5D83
split-complementary
#7E2E83 #5D832E #2E8354
monochromatic
#270E28 #521E56 #7E2E83 #AA3EB0 #C263C8

Accessibility & contrast

On white

8.06
#7E2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7E2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E83
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E83#FFFFFF#000000##FFFFFF
##7E2E831.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A86
Deuteranopia (green-blind)
#3E5381
Tritanopia (blue-blind)
#813A54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7e2e83;
/* rgb */ color: rgb(126, 46, 131);
/* oklch */ color: oklch(45.1% 0.154 325.3);
Tailwind
colors: {
  custom: {
    50: '#a66da7',
    500: '#7e2e83',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e83;
$custom-light: #a66da7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e83",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 296.471,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4512,
    "c": 0.15403,
    "h": 325.3
  },
  "luminance": 0.08028
}

Semantic roles & 50–950 ramp

primary
#7E2E83
secondary
#63AF5E
accent
#D85058
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7E2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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