#7E4A94#7E4A94

#7E4A94 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.1% C 0.126 H 315.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7E4A94
RGBrgb(126, 74, 148)
HSLhsl(282, 33%, 44%)
HSVhsv(282, 50%, 58%)
CMYKcmyk(14.9%, 50%, 0%, 42%)
CIE-LABlab(40.36, 35.40, -32.03)
CIE-LCHlch(40.36, 47.74, 317.86°)
OKLaboklab(50.06% 0.0893 -0.089)
OKLCHoklch(50.06% 0.126 315.1)
XYZxyz(16.3974, 11.4718, 29.3617)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4A94 #60944A
analogous
#594A94 #7E4A94 #944A85
triadic
#7E4A94 #947E4A #4A947E
tetradic
#7E4A94 #94594A #60944A #4A8594
square
#7E4A94 #94594A #60944A #4A8594
split-complementary
#7E4A94 #85944A #4A9459
monochromatic
#392142 #5B366B #7E4A94 #9D68B3 #B791C8

Accessibility & contrast

On white

6.37
#7E4A94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7E4A94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4A94
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4A94#FFFFFF#000000##FFFFFF
##7E4A941.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5C97
Deuteranopia (green-blind)
#4A6192
Tritanopia (blue-blind)
#7D5568
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7e4a94;
/* rgb */ color: rgb(126, 74, 148);
/* oklch */ color: oklch(50.1% 0.126 315.1);
Tailwind
colors: {
  custom: {
    50: '#a57eb4',
    500: '#7e4a94',
    950: '#000000',
  },
}
SCSS
$custom: #7e4a94;
$custom-light: #a57eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4a94",
  "rgb": {
    "r": 126,
    "g": 74,
    "b": 148
  },
  "hsl": {
    "h": 282.162,
    "s": 33.333,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50056,
    "c": 0.12609,
    "h": 315.1
  },
  "luminance": 0.11471
}

Semantic roles & 50–950 ramp

primary
#7E4A94
secondary
#94B486
accent
#C95E7E
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7E4A94

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

Preview Lab → · Contrast checker → · Palette generator →

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