#7A33B3#7A33B3

#7A33B3 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.193 H 305.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7A33B3
RGBrgb(122, 51, 179)
HSLhsl(273, 56%, 45%)
HSVhsv(273, 72%, 70%)
CMYKcmyk(31.8%, 71.5%, 0%, 29.8%)
CIE-LABlab(37.41, 53.40, -55.34)
CIE-LCHlch(37.41, 76.90, 313.98°)
OKLaboklab(48.41% 0.1126 -0.1572)
OKLCHoklch(48.41% 0.193 305.6)
XYZxyz(17.3448, 9.7600, 43.6092)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A33B3 #6CB333
analogous
#3A33B3 #7A33B3 #B333AC
triadic
#7A33B3 #B37A33 #33B37A
tetradic
#7A33B3 #B33A33 #6CB333 #33ACB3
square
#7A33B3 #B33A33 #6CB333 #33ACB3
split-complementary
#7A33B3 #ACB333 #33B33A
monochromatic
#391854 #5A2583 #7A33B3 #9855CE #B584DC

Accessibility & contrast

On white

7.11
#7A33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A33B3
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A33B3#FFFFFF#000000##FFFFFF
##7A33B31.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#705170
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a33b3;
/* rgb */ color: rgb(122, 51, 179);
/* oklch */ color: oklch(48.4% 0.193 305.6);
Tailwind
colors: {
  custom: {
    50: '#a571cb',
    500: '#7a33b3',
    950: '#000000',
  },
}
SCSS
$custom: #7a33b3;
$custom-light: #a571cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a33b3",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 273.281,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48414,
    "c": 0.19341,
    "h": 305.6
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

primary
#7A33B3
secondary
#9DC67C
accent
#DF498C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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