#7A30B8#7A30B8

#7A30B8 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.202 H 304.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7A30B8
RGBrgb(122, 48, 184)
HSLhsl(273, 59%, 45%)
HSVhsv(273, 74%, 72%)
CMYKcmyk(33.7%, 73.9%, 0%, 27.8%)
CIE-LABlab(37.32, 55.87, -58.44)
CIE-LCHlch(37.32, 80.85, 313.71°)
OKLaboklab(48.47% 0.1147 -0.1663)
OKLCHoklch(48.47% 0.202 304.6)
XYZxyz(17.7328, 9.7123, 46.2786)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30B8 #6EB830
analogous
#3630B8 #7A30B8 #B830B2
triadic
#7A30B8 #B87A30 #30B87A
tetradic
#7A30B8 #B83630 #6EB830 #30B2B8
square
#7A30B8 #B83630 #6EB830 #30B2B8
split-complementary
#7A30B8 #B2B830 #30B836
monochromatic
#3A1757 #5A2387 #7A30B8 #9853D2 #B584DF

Accessibility & contrast

On white

7.14
#7A30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7A30B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A30B8
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30B8#FFFFFF#000000##FFFFFF
##7A30B81.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#6E5172
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a30b8;
/* rgb */ color: rgb(122, 48, 184);
/* oklch */ color: oklch(48.5% 0.202 304.6);
Tailwind
colors: {
  custom: {
    50: '#a66fce',
    500: '#7a30b8',
    950: '#000000',
  },
}
SCSS
$custom: #7a30b8;
$custom-light: #a66fce;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30b8",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 272.647,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48471,
    "c": 0.20202,
    "h": 304.6
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#7A30B8
secondary
#9FC87C
accent
#E2468D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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