#7E3095#7E3095

#7E3095 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.168 H 317.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7E3095
RGBrgb(126, 48, 149)
HSLhsl(286, 51%, 39%)
HSVhsv(286, 68%, 58%)
CMYKcmyk(15.4%, 67.8%, 0%, 41.6%)
CIE-LABlab(35.44, 48.99, -40.46)
CIE-LCHlch(35.44, 63.53, 320.45°)
OKLaboklab(46.47% 0.1243 -0.1134)
OKLCHoklch(46.47% 0.168 317.6)
XYZxyz(15.0852, 8.7201, 29.3165)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3095 #479530
analogous
#4B3095 #7E3095 #953079
triadic
#7E3095 #957E30 #30957E
tetradic
#7E3095 #954B30 #479530 #307995
square
#7E3095 #954B30 #479530 #307995
split-complementary
#7E3095 #799530 #30954B
monochromatic
#301238 #572167 #7E3095 #A441C2 #BA6FD1

Accessibility & contrast

On white

7.65
#7E3095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E3095
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3095#FFFFFF#000000##FFFFFF
##7E30951.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044E98
Deuteranopia (green-blind)
#335693
Tritanopia (blue-blind)
#7D435E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e3095;
/* rgb */ color: rgb(126, 48, 149);
/* oklch */ color: oklch(46.5% 0.168 317.6);
Tailwind
colors: {
  custom: {
    50: '#a66fb5',
    500: '#7e3095',
    950: '#000000',
  },
}
SCSS
$custom: #7e3095;
$custom-light: #a66fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3095",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 286.337,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46473,
    "c": 0.16829,
    "h": 317.6
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#7E3095
secondary
#7BB869
accent
#DB4D6D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7E3095

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

Preview Lab → · Contrast checker → · Palette generator →

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