#7A30B9#7A30B9

#7A30B9 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.203 H 304.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7A30B9
RGBrgb(122, 48, 185)
HSLhsl(272, 59%, 46%)
HSVhsv(272, 74%, 73%)
CMYKcmyk(34.1%, 74.1%, 0%, 27.5%)
CIE-LABlab(37.40, 56.10, -58.91)
CIE-LCHlch(37.40, 81.35, 313.60°)
OKLaboklab(48.55% 0.1145 -0.1677)
OKLCHoklch(48.55% 0.203 304.3)
XYZxyz(17.8379, 9.7543, 46.8326)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30B9 #6FB930
analogous
#3630B9 #7A30B9 #B930B3
triadic
#7A30B9 #B97A30 #30B97A
tetradic
#7A30B9 #B93630 #6FB930 #30B3B9
square
#7A30B9 #B93630 #6FB930 #30B3B9
split-complementary
#7A30B9 #B3B930 #30B936
monochromatic
#3A1758 #5A2388 #7A30B9 #9854D3 #B584DF

Accessibility & contrast

On white

7.12
#7A30B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7A30B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A30B9
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30B9#FFFFFF#000000##FFFFFF
##7A30B91.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#6E5272
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a30b9;
/* rgb */ color: rgb(122, 48, 185);
/* oklch */ color: oklch(48.5% 0.203 304.3);
Tailwind
colors: {
  custom: {
    50: '#a670cf',
    500: '#7a30b9',
    950: '#000000',
  },
}
SCSS
$custom: #7a30b9;
$custom-light: #a670cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30b9",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 272.409,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48549,
    "c": 0.20304,
    "h": 304.3
  },
  "luminance": 0.09754
}

Semantic roles & 50–950 ramp

primary
#7A30B9
secondary
#9FC97C
accent
#E2468E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A30B9

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

Preview Lab → · Contrast checker → · Palette generator →

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