#7A30AB#7A30AB

#7A30AB is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.189 H 308.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7A30AB
RGBrgb(122, 48, 171)
HSLhsl(276, 56%, 43%)
HSVhsv(276, 72%, 67%)
CMYKcmyk(28.7%, 71.9%, 0%, 32.9%)
CIE-LABlab(36.35, 52.89, -52.29)
CIE-LCHlch(36.35, 74.38, 315.32°)
OKLaboklab(47.48% 0.1169 -0.1483)
OKLCHoklch(47.48% 0.189 308.3)
XYZxyz(16.4322, 9.1920, 39.4288)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30AB #61AB30
analogous
#3D30AB #7A30AB #AB309E
triadic
#7A30AB #AB7A30 #30AB7A
tetradic
#7A30AB #AB3D30 #61AB30 #309EAB
square
#7A30AB #AB3D30 #61AB30 #309EAB
split-complementary
#7A30AB #9EAB30 #30AB3D
monochromatic
#36154B #58237B #7A30AB #994CCD #B47BDA

Accessibility & contrast

On white

7.40
#7A30AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7A30AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A30AB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30AB#FFFFFF#000000##FFFFFF
##7A30AB1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0D56A8
Tritanopia (blue-blind)
#724C6A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a30ab;
/* rgb */ color: rgb(122, 48, 171);
/* oklch */ color: oklch(47.5% 0.189 308.3);
Tailwind
colors: {
  custom: {
    50: '#a56fc5',
    500: '#7a30ab',
    950: '#000000',
  },
}
SCSS
$custom: #7a30ab;
$custom-light: #a56fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30ab",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 276.098,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47479,
    "c": 0.18884,
    "h": 308.3
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#7A30AB
secondary
#93C374
accent
#DF4885
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A30AB

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

Preview Lab → · Contrast checker → · Palette generator →

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