#7A33AE#7A33AE

#7A33AE is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.188 H 307.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7A33AE
RGBrgb(122, 51, 174)
HSLhsl(275, 55%, 44%)
HSVhsv(275, 71%, 68%)
CMYKcmyk(29.9%, 70.7%, 0%, 31.8%)
CIE-LABlab(37.04, 52.24, -52.96)
CIE-LCHlch(37.04, 74.39, 314.60°)
OKLaboklab(48.04% 0.1134 -0.1503)
OKLCHoklch(48.04% 0.188 307)
XYZxyz(16.8482, 9.5614, 40.9942)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A33AE #67AE33
analogous
#3C33AE #7A33AE #AE33A5
triadic
#7A33AE #AE7A33 #33AE7A
tetradic
#7A33AE #AE3C33 #67AE33 #33A5AE
square
#7A33AE #AE3C33 #67AE33 #33A5AE
split-complementary
#7A33AE #A5AE33 #33AE3C
monochromatic
#38174F #59257F #7A33AE #9952CC #B581DA

Accessibility & contrast

On white

7.21
#7A33AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7A33AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A33AE
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A33AE#FFFFFF#000000##FFFFFF
##7A33AE1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#0B58AB
Tritanopia (blue-blind)
#714F6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7a33ae;
/* rgb */ color: rgb(122, 51, 174);
/* oklch */ color: oklch(48.0% 0.188 307.0);
Tailwind
colors: {
  custom: {
    50: '#a571c7',
    500: '#7a33ae',
    950: '#000000',
  },
}
SCSS
$custom: #7a33ae;
$custom-light: #a571c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a33ae",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 274.634,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4804,
    "c": 0.18824,
    "h": 307
  },
  "luminance": 0.09561
}

Semantic roles & 50–950 ramp

primary
#7A33AE
secondary
#99C379
accent
#DE4A88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A33AE

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

Preview Lab → · Contrast checker → · Palette generator →

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