#7A30BA#7A30BA

#7A30BA is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.204 H 304.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7A30BA
RGBrgb(122, 48, 186)
HSLhsl(272, 59%, 46%)
HSVhsv(272, 74%, 73%)
CMYKcmyk(34.4%, 74.2%, 0%, 27.1%)
CIE-LABlab(37.48, 56.34, -59.37)
CIE-LCHlch(37.48, 81.85, 313.50°)
OKLaboklab(48.63% 0.1142 -0.1691)
OKLCHoklch(48.63% 0.204 304)
XYZxyz(17.9439, 9.7967, 47.3905)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30BA #70BA30
analogous
#3530BA #7A30BA #BA30B5
triadic
#7A30BA #BA7A30 #30BA7A
tetradic
#7A30BA #BA3530 #70BA30 #30B5BA
square
#7A30BA #BA3530 #70BA30 #30B5BA
split-complementary
#7A30BA #B5BA30 #30BA35
monochromatic
#3A1759 #5A2389 #7A30BA #9854D3 #B585DF

Accessibility & contrast

On white

7.10
#7A30BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7A30BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A30BA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30BA#FFFFFF#000000##FFFFFF
##7A30BA1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#6D5273
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a30ba;
/* rgb */ color: rgb(122, 48, 186);
/* oklch */ color: oklch(48.6% 0.204 304.0);
Tailwind
colors: {
  custom: {
    50: '#a670d0',
    500: '#7a30ba',
    950: '#000000',
  },
}
SCSS
$custom: #7a30ba;
$custom-light: #a670d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30ba",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 272.174,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48628,
    "c": 0.20405,
    "h": 304
  },
  "luminance": 0.09797
}

Semantic roles & 50–950 ramp

primary
#7A30BA
secondary
#A0C97D
accent
#E2468E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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