#7A30C5#7A30C5

#7A30C5 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.215 H 301.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7A30C5
RGBrgb(122, 48, 197)
HSLhsl(270, 61%, 48%)
HSVhsv(270, 76%, 77%)
CMYKcmyk(38.1%, 75.6%, 0%, 22.7%)
CIE-LABlab(38.34, 58.92, -64.40)
CIE-LCHlch(38.34, 87.29, 312.45°)
OKLaboklab(49.51% 0.1118 -0.1839)
OKLCHoklch(49.51% 0.215 301.3)
XYZxyz(19.1586, 10.2826, 53.7879)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30C5 #7BC530
analogous
#3030C5 #7A30C5 #C430C5
triadic
#7A30C5 #C57A30 #30C57A
tetradic
#7A30C5 #C53030 #7BC530 #30C5C4
square
#7A30C5 #C53030 #7BC530 #30C5C4
split-complementary
#7A30C5 #C5C430 #30C530
monochromatic
#3D1863 #5C2494 #7A30C5 #995BD7 #B78CE3

Accessibility & contrast

On white

6.87
#7A30C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7A30C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A30C5
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30C5#FFFFFF#000000##FFFFFF
##7A30C51.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#695779
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a30c5;
/* rgb */ color: rgb(122, 48, 197);
/* oklch */ color: oklch(49.5% 0.215 301.3);
Tailwind
colors: {
  custom: {
    50: '#a770d8',
    500: '#7a30c5',
    950: '#000000',
  },
}
SCSS
$custom: #7a30c5;
$custom-light: #a770d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30c5",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 269.799,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49511,
    "c": 0.21519,
    "h": 301.3
  },
  "luminance": 0.10283
}

Semantic roles & 50–950 ramp

primary
#7A30C5
secondary
#A9CD84
accent
#E44494
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7A30C5

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

Preview Lab → · Contrast checker → · Palette generator →

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