#7E3E95#7E3E95

#7E3E95 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.3% C 0.147 H 316.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7E3E95
RGBrgb(126, 62, 149)
HSLhsl(284, 41%, 41%)
HSVhsv(284, 58%, 58%)
CMYKcmyk(15.4%, 58.4%, 0%, 41.6%)
CIE-LABlab(37.93, 42.16, -36.48)
CIE-LCHlch(37.93, 55.75, 319.13°)
OKLaboklab(48.28% 0.1065 -0.1019)
OKLCHoklch(48.28% 0.147 316.3)
XYZxyz(15.7508, 10.0513, 29.5383)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3E95 #55953E
analogous
#533E95 #7E3E95 #953E81
triadic
#7E3E95 #957E3E #3E957E
tetradic
#7E3E95 #95533E #55953E #3E8195
square
#7E3E95 #95533E #55953E #3E8195
split-complementary
#7E3E95 #81953E #3E9553
monochromatic
#351A3F #592C6A #7E3E95 #9F57B9 #B882CB

Accessibility & contrast

On white

6.98
#7E3E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7E3E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3E95
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3E95#FFFFFF#000000##FFFFFF
##7E3E951.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285598
Deuteranopia (green-blind)
#3F5B93
Tritanopia (blue-blind)
#7D4C63
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7e3e95;
/* rgb */ color: rgb(126, 62, 149);
/* oklch */ color: oklch(48.3% 0.147 316.3);
Tailwind
colors: {
  custom: {
    50: '#a677b4',
    500: '#7e3e95',
    950: '#000000',
  },
}
SCSS
$custom: #7e3e95;
$custom-light: #a677b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3e95",
  "rgb": {
    "r": 126,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 284.138,
    "s": 41.232,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48283,
    "c": 0.1474,
    "h": 316.3
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#7E3E95
secondary
#89B57A
accent
#D15777
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7E3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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