#7A30AF#7A30AF

#7A30AF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.8% C 0.193 H 307.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7A30AF
RGBrgb(122, 48, 175)
HSLhsl(275, 57%, 44%)
HSVhsv(275, 73%, 69%)
CMYKcmyk(30.3%, 72.6%, 0%, 31.4%)
CIE-LABlab(36.64, 53.80, -54.21)
CIE-LCHlch(36.64, 76.37, 314.78°)
OKLaboklab(47.78% 0.1163 -0.1539)
OKLCHoklch(47.78% 0.193 307.1)
XYZxyz(16.8192, 9.3468, 41.4672)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30AF #65AF30
analogous
#3A30AF #7A30AF #AF30A4
triadic
#7A30AF #AF7A30 #30AF7A
tetradic
#7A30AF #AF3A30 #65AF30 #30A4AF
square
#7A30AF #AF3A30 #65AF30 #30A4AF
split-complementary
#7A30AF #A4AF30 #30AF3A
monochromatic
#37164F #59237F #7A30AF #994ECE #B47EDC

Accessibility & contrast

On white

7.32
#7A30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7A30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A30AF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30AF#FFFFFF#000000##FFFFFF
##7A30AF1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#714E6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a30af;
/* rgb */ color: rgb(122, 48, 175);
/* oklch */ color: oklch(47.8% 0.193 307.1);
Tailwind
colors: {
  custom: {
    50: '#a56fc8',
    500: '#7a30af',
    950: '#000000',
  },
}
SCSS
$custom: #7a30af;
$custom-light: #a56fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30af",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 274.961,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47779,
    "c": 0.19289,
    "h": 307.1
  },
  "luminance": 0.09347
}

Semantic roles & 50–950 ramp

primary
#7A30AF
secondary
#97C476
accent
#E04887
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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