#7A30AE#7A30AE

#7A30AE is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.192 H 307.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7A30AE
RGBrgb(122, 48, 174)
HSLhsl(275, 57%, 44%)
HSVhsv(275, 72%, 68%)
CMYKcmyk(29.9%, 72.4%, 0%, 31.8%)
CIE-LABlab(36.57, 53.57, -53.73)
CIE-LCHlch(36.57, 75.87, 314.92°)
OKLaboklab(47.7% 0.1165 -0.1525)
OKLCHoklch(47.7% 0.192 307.4)
XYZxyz(16.7214, 9.3077, 40.9519)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30AE #64AE30
analogous
#3B30AE #7A30AE #AE30A3
triadic
#7A30AE #AE7A30 #30AE7A
tetradic
#7A30AE #AE3B30 #64AE30 #30A3AE
square
#7A30AE #AE3B30 #64AE30 #30A3AE
split-complementary
#7A30AE #A3AE30 #30AE3B
monochromatic
#37164E #58237E #7A30AE #994DCE #B47DDB

Accessibility & contrast

On white

7.34
#7A30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7A30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A30AE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30AE#FFFFFF#000000##FFFFFF
##7A30AE1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0157AB
Tritanopia (blue-blind)
#714D6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a30ae;
/* rgb */ color: rgb(122, 48, 174);
/* oklch */ color: oklch(47.7% 0.192 307.4);
Tailwind
colors: {
  custom: {
    50: '#a56fc7',
    500: '#7a30ae',
    950: '#000000',
  },
}
SCSS
$custom: #7a30ae;
$custom-light: #a56fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30ae",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 275.238,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47703,
    "c": 0.19188,
    "h": 307.4
  },
  "luminance": 0.09307
}

Semantic roles & 50–950 ramp

primary
#7A30AE
secondary
#96C476
accent
#E04887
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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