#7A33BA#7A33BA

#7A33BA is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.0% C 0.201 H 303.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7A33BA
RGBrgb(122, 51, 186)
HSLhsl(272, 57%, 46%)
HSVhsv(272, 73%, 73%)
CMYKcmyk(34.4%, 72.6%, 0%, 27.1%)
CIE-LABlab(37.93, 55.04, -58.63)
CIE-LCHlch(37.93, 80.41, 313.19°)
OKLaboklab(48.95% 0.1114 -0.1669)
OKLCHoklch(48.95% 0.201 303.7)
XYZxyz(18.0707, 10.0504, 47.4328)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A33BA #73BA33
analogous
#3733BA #7A33BA #BA33B7
triadic
#7A33BA #BA7A33 #33BA7A
tetradic
#7A33BA #BA3733 #73BA33 #33B7BA
square
#7A33BA #BA3733 #73BA33 #33B7BA
split-complementary
#7A33BA #B7BA33 #33BA37
monochromatic
#3B195A #5A268A #7A33BA #9859D1 #B689DF

Accessibility & contrast

On white

6.98
#7A33BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7A33BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A33BA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A33BA#FFFFFF#000000##FFFFFF
##7A33BA1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#6D5473
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a33ba;
/* rgb */ color: rgb(122, 51, 186);
/* oklch */ color: oklch(49.0% 0.201 303.7);
Tailwind
colors: {
  custom: {
    50: '#a671d0',
    500: '#7a33ba',
    950: '#000000',
  },
}
SCSS
$custom: #7a33ba;
$custom-light: #a671d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a33ba",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 271.556,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48951,
    "c": 0.20066,
    "h": 303.7
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

primary
#7A33BA
secondary
#A3C980
accent
#E04890
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A33BA

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

Preview Lab → · Contrast checker → · Palette generator →

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