#7A30A4#7A30A4

#7A30A4 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.182 H 310.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7A30A4
RGBrgb(122, 48, 164)
HSLhsl(278, 55%, 42%)
HSVhsv(278, 71%, 64%)
CMYKcmyk(25.6%, 70.7%, 0%, 35.7%)
CIE-LABlab(35.85, 51.31, -48.90)
CIE-LCHlch(35.85, 70.89, 316.38°)
OKLaboklab(46.97% 0.1179 -0.1383)
OKLCHoklch(46.97% 0.182 310.4)
XYZxyz(15.7825, 8.9322, 36.0074)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30A4 #5AA430
analogous
#4030A4 #7A30A4 #A43094
triadic
#7A30A4 #A47A30 #30A47A
tetradic
#7A30A4 #A44030 #5AA430 #3094A4
square
#7A30A4 #A44030 #5AA430 #3094A4
split-complementary
#7A30A4 #94A430 #30A440
monochromatic
#341445 #572275 #7A30A4 #9A48C9 #B477D7

Accessibility & contrast

On white

7.54
#7A30A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7A30A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A30A4
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30A4#FFFFFF#000000##FFFFFF
##7A30A41.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#1D56A1
Tritanopia (blue-blind)
#744966
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a30a4;
/* rgb */ color: rgb(122, 48, 164);
/* oklch */ color: oklch(47.0% 0.182 310.4);
Tailwind
colors: {
  custom: {
    50: '#a46fc0',
    500: '#7a30a4',
    950: '#000000',
  },
}
SCSS
$custom: #7a30a4;
$custom-light: #a46fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30a4",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 278.276,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46967,
    "c": 0.18174,
    "h": 310.4
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A30A4

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

Preview Lab → · Contrast checker → · Palette generator →

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