#7E3094#7E3094

#7E3094 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.167 H 318.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7E3094
RGBrgb(126, 48, 148)
HSLhsl(287, 51%, 38%)
HSVhsv(287, 68%, 58%)
CMYKcmyk(14.9%, 67.6%, 0%, 42%)
CIE-LABlab(35.38, 48.78, -39.95)
CIE-LCHlch(35.38, 63.05, 320.69°)
OKLaboklab(46.41% 0.1244 -0.1119)
OKLCHoklch(46.41% 0.167 318)
XYZxyz(15.0057, 8.6883, 28.8978)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3094 #469430
analogous
#4C3094 #7E3094 #943078
triadic
#7E3094 #947E30 #30947E
tetradic
#7E3094 #944C30 #469430 #307894
square
#7E3094 #944C30 #469430 #307894
split-complementary
#7E3094 #789430 #30944C
monochromatic
#2F1238 #572166 #7E3094 #A540C1 #BB6ED0

Accessibility & contrast

On white

7.67
#7E3094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7E3094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3094
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3094#FFFFFF#000000##FFFFFF
##7E30941.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074E97
Deuteranopia (green-blind)
#345692
Tritanopia (blue-blind)
#7D425E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e3094;
/* rgb */ color: rgb(126, 48, 148);
/* oklch */ color: oklch(46.4% 0.167 318.0);
Tailwind
colors: {
  custom: {
    50: '#a66eb4',
    500: '#7e3094',
    950: '#000000',
  },
}
SCSS
$custom: #7e3094;
$custom-light: #a66eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3094",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 148
  },
  "hsl": {
    "h": 286.8,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46408,
    "c": 0.16732,
    "h": 318
  },
  "luminance": 0.08688
}

Semantic roles & 50–950 ramp

primary
#7E3094
secondary
#7AB868
accent
#DA4D6C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7E3094

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

Preview Lab → · Contrast checker → · Palette generator →

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