#7E3092#7E3092

#7E3092 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.165 H 318.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7E3092
RGBrgb(126, 48, 146)
HSLhsl(288, 51%, 38%)
HSVhsv(288, 67%, 57%)
CMYKcmyk(13.7%, 67.1%, 0%, 42.7%)
CIE-LABlab(35.25, 48.37, -38.92)
CIE-LCHlch(35.25, 62.09, 321.18°)
OKLaboklab(46.28% 0.1244 -0.1089)
OKLCHoklch(46.28% 0.165 318.8)
XYZxyz(14.8488, 8.6255, 28.0713)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3092 #449230
analogous
#4D3092 #7E3092 #923075
triadic
#7E3092 #927E30 #30927E
tetradic
#7E3092 #924D30 #449230 #307592
square
#7E3092 #924D30 #449230 #307592
split-complementary
#7E3092 #759230 #30924D
monochromatic
#2F1236 #562164 #7E3092 #A63FC0 #BB6DCF

Accessibility & contrast

On white

7.71
#7E3092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7E3092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3092
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3092#FFFFFF#000000##FFFFFF
##7E30921.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4E95
Deuteranopia (green-blind)
#365590
Tritanopia (blue-blind)
#7E415D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e3092;
/* rgb */ color: rgb(126, 48, 146);
/* oklch */ color: oklch(46.3% 0.165 318.8);
Tailwind
colors: {
  custom: {
    50: '#a66eb2',
    500: '#7e3092',
    950: '#000000',
  },
}
SCSS
$custom: #7e3092;
$custom-light: #a66eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3092",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 146
  },
  "hsl": {
    "h": 287.755,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46279,
    "c": 0.16538,
    "h": 318.8
  },
  "luminance": 0.08625
}

Semantic roles & 50–950 ramp

primary
#7E3092
secondary
#77B767
accent
#DA4E6A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7E3092

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

Preview Lab → · Contrast checker → · Palette generator →

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