#7E30AE#7E30AE

#7E30AE is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.2% C 0.193 H 309.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7E30AE
RGBrgb(126, 48, 174)
HSLhsl(277, 57%, 44%)
HSVhsv(277, 72%, 68%)
CMYKcmyk(27.6%, 72.4%, 0%, 31.8%)
CIE-LABlab(37.13, 54.37, -52.80)
CIE-LCHlch(37.13, 75.79, 315.84°)
OKLaboklab(48.22% 0.1219 -0.1496)
OKLCHoklch(48.22% 0.193 309.2)
XYZxyz(17.2996, 9.6058, 40.9790)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E30AE #60AE30
analogous
#3F30AE #7E30AE #AE309F
triadic
#7E30AE #AE7E30 #30AE7E
tetradic
#7E30AE #AE3F30 #60AE30 #309FAE
square
#7E30AE #AE3F30 #60AE30 #309FAE
split-complementary
#7E30AE #9FAE30 #30AE3F
monochromatic
#39164E #5B237E #7E30AE #9D4DCE #B77DDB

Accessibility & contrast

On white

7.19
#7E30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7E30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E30AE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E30AE#FFFFFF#000000##FFFFFF
##7E30AE1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#1158AB
Tritanopia (blue-blind)
#774D6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7e30ae;
/* rgb */ color: rgb(126, 48, 174);
/* oklch */ color: oklch(48.2% 0.193 309.2);
Tailwind
colors: {
  custom: {
    50: '#a86fc7',
    500: '#7e30ae',
    950: '#000000',
  },
}
SCSS
$custom: #7e30ae;
$custom-light: #a86fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e30ae",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 277.143,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48215,
    "c": 0.193,
    "h": 309.2
  },
  "luminance": 0.09606
}

Semantic roles & 50–950 ramp

primary
#7E30AE
secondary
#94C476
accent
#E04882
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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