#7A30A3#7A30A3

#7A30A3 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.181 H 310.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7A30A3
RGBrgb(122, 48, 163)
HSLhsl(279, 55%, 41%)
HSVhsv(279, 71%, 64%)
CMYKcmyk(25.2%, 70.6%, 0%, 36.1%)
CIE-LABlab(35.78, 51.09, -48.41)
CIE-LCHlch(35.78, 70.39, 316.54°)
OKLaboklab(46.9% 0.118 -0.1369)
OKLCHoklch(46.9% 0.181 310.8)
XYZxyz(15.6926, 8.8962, 35.5337)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30A3 #59A330
analogous
#4130A3 #7A30A3 #A33093
triadic
#7A30A3 #A37A30 #30A37A
tetradic
#7A30A3 #A34130 #59A330 #3093A3
square
#7A30A3 #A34130 #59A330 #3093A3
split-complementary
#7A30A3 #93A330 #30A341
monochromatic
#331444 #572274 #7A30A3 #9B47C9 #B577D7

Accessibility & contrast

On white

7.56
#7A30A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7A30A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A30A3
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30A3#FFFFFF#000000##FFFFFF
##7A30A31.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#1F55A0
Tritanopia (blue-blind)
#754966
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a30a3;
/* rgb */ color: rgb(122, 48, 163);
/* oklch */ color: oklch(46.9% 0.181 310.8);
Tailwind
colors: {
  custom: {
    50: '#a46fbf',
    500: '#7a30a3',
    950: '#000000',
  },
}
SCSS
$custom: #7a30a3;
$custom-light: #a46fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30a3",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 278.609,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46895,
    "c": 0.18073,
    "h": 310.8
  },
  "luminance": 0.08896
}

Semantic roles & 50–950 ramp

primary
#7A30A3
secondary
#8CBF70
accent
#DE4A7F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7A30A3

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

Preview Lab → · Contrast checker → · Palette generator →

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