#7E30AF#7E30AF

#7E30AF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.3% C 0.194 H 308.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7E30AF
RGBrgb(126, 48, 175)
HSLhsl(277, 57%, 44%)
HSVhsv(277, 73%, 69%)
CMYKcmyk(28%, 72.6%, 0%, 31.4%)
CIE-LABlab(37.20, 54.59, -53.28)
CIE-LCHlch(37.20, 76.28, 315.70°)
OKLaboklab(48.29% 0.1218 -0.151)
OKLCHoklch(48.29% 0.194 308.9)
XYZxyz(17.3974, 9.6450, 41.4943)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E30AF #61AF30
analogous
#3E30AF #7E30AF #AF30A0
triadic
#7E30AF #AF7E30 #30AF7E
tetradic
#7E30AF #AF3E30 #61AF30 #30A0AF
square
#7E30AF #AF3E30 #61AF30 #30A0AF
split-complementary
#7E30AF #A0AF30 #30AF3E
monochromatic
#39164F #5B237F #7E30AF #9D4ECE #B77EDC

Accessibility & contrast

On white

7.17
#7E30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7E30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E30AF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E30AF#FFFFFF#000000##FFFFFF
##7E30AF1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0E58AC
Tritanopia (blue-blind)
#774D6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7e30af;
/* rgb */ color: rgb(126, 48, 175);
/* oklch */ color: oklch(48.3% 0.194 308.9);
Tailwind
colors: {
  custom: {
    50: '#a870c8',
    500: '#7e30af',
    950: '#000000',
  },
}
SCSS
$custom: #7e30af;
$custom-light: #a870c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e30af",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 276.85,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48289,
    "c": 0.194,
    "h": 308.9
  },
  "luminance": 0.09645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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