#7A30AA#7A30AA

#7A30AA is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.188 H 308.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7A30AA
RGBrgb(122, 48, 170)
HSLhsl(276, 56%, 43%)
HSVhsv(276, 72%, 67%)
CMYKcmyk(28.2%, 71.8%, 0%, 33.3%)
CIE-LABlab(36.28, 52.66, -51.81)
CIE-LCHlch(36.28, 73.88, 315.47°)
OKLaboklab(47.41% 0.1171 -0.1469)
OKLCHoklch(47.41% 0.188 308.6)
XYZxyz(16.3372, 9.1540, 38.9287)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30AA #60AA30
analogous
#3D30AA #7A30AA #AA309D
triadic
#7A30AA #AA7A30 #30AA7A
tetradic
#7A30AA #AA3D30 #60AA30 #309DAA
square
#7A30AA #AA3D30 #60AA30 #309DAA
split-complementary
#7A30AA #9DAA30 #30AA3D
monochromatic
#36154B #58237A #7A30AA #994BCC #B47BDA

Accessibility & contrast

On white

7.42
#7A30AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7A30AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A30AA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30AA#FFFFFF#000000##FFFFFF
##7A30AA1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#1056A7
Tritanopia (blue-blind)
#734C6A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a30aa;
/* rgb */ color: rgb(122, 48, 170);
/* oklch */ color: oklch(47.4% 0.188 308.6);
Tailwind
colors: {
  custom: {
    50: '#a56fc4',
    500: '#7a30aa',
    950: '#000000',
  },
}
SCSS
$custom: #7a30aa;
$custom-light: #a56fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30aa",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 276.393,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47405,
    "c": 0.18782,
    "h": 308.6
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#7A30AA
secondary
#93C274
accent
#DF4984
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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