#7B33AC#7B33AC

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

Color values

HEX#7B33AC
RGBrgb(123, 51, 172)
HSLhsl(276, 54%, 44%)
HSVhsv(276, 70%, 67%)
CMYKcmyk(28.5%, 70.3%, 0%, 32.5%)
CIE-LABlab(37.04, 51.98, -51.78)
CIE-LCHlch(37.04, 73.37, 315.11°)
OKLaboklab(48.02% 0.115 -0.1467)
OKLCHoklch(48.02% 0.186 308.1)
XYZxyz(16.7971, 9.5574, 39.9816)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33AC #64AC33
analogous
#3E33AC #7B33AC #AC33A0
triadic
#7B33AC #AC7B33 #33AC7B
tetradic
#7B33AC #AC3E33 #64AC33 #33A0AC
square
#7B33AC #AC3E33 #64AC33 #33A0AC
split-complementary
#7B33AC #A0AC33 #33AC3E
monochromatic
#37174E #59257D #7B33AC #9A51CB #B580D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B33AC#FFFFFF#000000##FFFFFF
##7B33AC1.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)
#0054B0
Deuteranopia (green-blind)
#1458A9
Tritanopia (blue-blind)
#734E6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b33ac;
/* rgb */ color: rgb(123, 51, 172);
/* oklch */ color: oklch(48.0% 0.186 308.1);
Tailwind
colors: {
  custom: {
    50: '#a571c5',
    500: '#7b33ac',
    950: '#000000',
  },
}
SCSS
$custom: #7b33ac;
$custom-light: #a571c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33ac",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 275.702,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48018,
    "c": 0.18644,
    "h": 308.1
  },
  "luminance": 0.09557
}

Semantic roles & 50–950 ramp

primary
#7B33AC
secondary
#96C278
accent
#DE4A86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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