#7E30B0#7E30B0

#7E30B0 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.4% C 0.195 H 308.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7E30B0
RGBrgb(126, 48, 176)
HSLhsl(277, 57%, 44%)
HSVhsv(277, 73%, 69%)
CMYKcmyk(28.4%, 72.7%, 0%, 31%)
CIE-LABlab(37.27, 54.81, -53.76)
CIE-LCHlch(37.27, 76.78, 315.56°)
OKLaboklab(48.36% 0.1216 -0.1524)
OKLCHoklch(48.36% 0.195 308.6)
XYZxyz(17.4960, 9.6844, 42.0135)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E30B0 #62B030
analogous
#3E30B0 #7E30B0 #B030A2
triadic
#7E30B0 #B07E30 #30B07E
tetradic
#7E30B0 #B03E30 #62B030 #30A2B0
square
#7E30B0 #B03E30 #62B030 #30A2B0
split-complementary
#7E30B0 #A2B030 #30B03E
monochromatic
#391650 #5C2380 #7E30B0 #9D4ECF #B77EDC

Accessibility & contrast

On white

7.15
#7E30B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7E30B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E30B0
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E30B0#FFFFFF#000000##FFFFFF
##7E30B01.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#0A59AD
Tritanopia (blue-blind)
#764E6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7e30b0;
/* rgb */ color: rgb(126, 48, 176);
/* oklch */ color: oklch(48.4% 0.195 308.6);
Tailwind
colors: {
  custom: {
    50: '#a870c8',
    500: '#7e30b0',
    950: '#000000',
  },
}
SCSS
$custom: #7e30b0;
$custom-light: #a870c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e30b0",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 276.563,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48363,
    "c": 0.19499,
    "h": 308.6
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

primary
#7E30B0
secondary
#95C577
accent
#E04783
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E30B0

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

Preview Lab → · Contrast checker → · Palette generator →

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