#7A30B3#7A30B3

#7A30B3 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.1% C 0.197 H 305.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7A30B3
RGBrgb(122, 48, 179)
HSLhsl(274, 58%, 45%)
HSVhsv(274, 73%, 70%)
CMYKcmyk(31.8%, 73.2%, 0%, 29.8%)
CIE-LABlab(36.94, 54.72, -56.10)
CIE-LCHlch(36.94, 78.36, 314.29°)
OKLaboklab(48.08% 0.1156 -0.1595)
OKLCHoklch(48.08% 0.197 305.9)
XYZxyz(17.2179, 9.5063, 43.5669)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30B3 #69B330
analogous
#3930B3 #7A30B3 #B330AB
triadic
#7A30B3 #B37A30 #30B37A
tetradic
#7A30B3 #B33930 #69B330 #30ABB3
square
#7A30B3 #B33930 #69B330 #30ABB3
split-complementary
#7A30B3 #ABB330 #30B339
monochromatic
#381652 #592383 #7A30B3 #9850D0 #B580DD

Accessibility & contrast

On white

7.24
#7A30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7A30B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A30B3
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30B3#FFFFFF#000000##FFFFFF
##7A30B31.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#704F6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7a30b3;
/* rgb */ color: rgb(122, 48, 179);
/* oklch */ color: oklch(48.1% 0.197 305.9);
Tailwind
colors: {
  custom: {
    50: '#a56fcb',
    500: '#7a30b3',
    950: '#000000',
  },
}
SCSS
$custom: #7a30b3;
$custom-light: #a56fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30b3",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 273.893,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48083,
    "c": 0.19695,
    "h": 305.9
  },
  "luminance": 0.09506
}

Semantic roles & 50–950 ramp

primary
#7A30B3
secondary
#9AC679
accent
#E1478A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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