#7E30BA#7E30BA

#7E30BA is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.205 H 305.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7E30BA
RGBrgb(126, 48, 186)
HSLhsl(274, 59%, 46%)
HSVhsv(274, 74%, 73%)
CMYKcmyk(32.3%, 74.2%, 0%, 27.1%)
CIE-LABlab(38.01, 57.07, -58.47)
CIE-LCHlch(38.01, 81.71, 314.31°)
OKLaboklab(49.12% 0.1198 -0.1663)
OKLCHoklch(49.12% 0.205 305.8)
XYZxyz(18.5221, 10.0948, 47.4176)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E30BA #6CBA30
analogous
#3930BA #7E30BA #BA30B1
triadic
#7E30BA #BA7E30 #30BA7E
tetradic
#7E30BA #BA3930 #6CBA30 #30B1BA
square
#7E30BA #BA3930 #6CBA30 #30B1BA
split-complementary
#7E30BA #B1BA30 #30BA39
monochromatic
#3C1759 #5D2389 #7E30BA #9C54D3 #B885DF

Accessibility & contrast

On white

6.96
#7E30BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7E30BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E30BA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E30BA#FFFFFF#000000##FFFFFF
##7E30BA1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#735273
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7e30ba;
/* rgb */ color: rgb(126, 48, 186);
/* oklch */ color: oklch(49.1% 0.205 305.8);
Tailwind
colors: {
  custom: {
    50: '#a970d0',
    500: '#7e30ba',
    950: '#000000',
  },
}
SCSS
$custom: #7e30ba;
$custom-light: #a970d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e30ba",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 273.913,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49121,
    "c": 0.20496,
    "h": 305.8
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

primary
#7E30BA
secondary
#9EC97D
accent
#E2468A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7E30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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