#7A33A8#7A33A8

#7A33A8 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.182 H 308.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7A33A8
RGBrgb(122, 51, 168)
HSLhsl(276, 53%, 43%)
HSVhsv(276, 70%, 66%)
CMYKcmyk(27.4%, 69.6%, 0%, 34.1%)
CIE-LABlab(36.62, 50.86, -50.07)
CIE-LCHlch(36.62, 71.37, 315.45°)
OKLaboklab(47.6% 0.1142 -0.1418)
OKLCHoklch(47.6% 0.182 308.8)
XYZxyz(16.2763, 9.3327, 37.9821)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A33A8 #61A833
analogous
#3F33A8 #7A33A8 #A8339C
triadic
#7A33A8 #A87A33 #33A87A
tetradic
#7A33A8 #A83F33 #61A833 #339CA8
square
#7A33A8 #A83F33 #61A833 #339CA8
split-complementary
#7A33A8 #9CA833 #33A83F
monochromatic
#36164A #582579 #7A33A8 #994FC9 #B47ED8

Accessibility & contrast

On white

7.33
#7A33A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7A33A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A33A8
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A33A8#FFFFFF#000000##FFFFFF
##7A33A81.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#1B57A5
Tritanopia (blue-blind)
#734D6A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a33a8;
/* rgb */ color: rgb(122, 51, 168);
/* oklch */ color: oklch(47.6% 0.182 308.8);
Tailwind
colors: {
  custom: {
    50: '#a570c3',
    500: '#7a33a8',
    950: '#000000',
  },
}
SCSS
$custom: #7a33a8;
$custom-light: #a570c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a33a8",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 276.41,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47601,
    "c": 0.18201,
    "h": 308.8
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#7A33A8
secondary
#93C176
accent
#DD4B84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7A33A8

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

Preview Lab → · Contrast checker → · Palette generator →

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