#7A33BB#7A33BB

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

Color values

HEX#7A33BB
RGBrgb(122, 51, 187)
HSLhsl(271, 57%, 47%)
HSVhsv(271, 73%, 73%)
CMYKcmyk(34.8%, 72.7%, 0%, 26.7%)
CIE-LABlab(38.01, 55.27, -59.09)
CIE-LCHlch(38.01, 80.91, 313.09°)
OKLaboklab(49.03% 0.1112 -0.1683)
OKLCHoklch(49.03% 0.202 303.5)
XYZxyz(18.1774, 10.0931, 47.9946)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A33BB #74BB33
analogous
#3633BB #7A33BB #BB33B8
triadic
#7A33BB #BB7A33 #33BB7A
tetradic
#7A33BB #BB3633 #74BB33 #33B8BB
square
#7A33BB #BB3633 #74BB33 #33B8BB
split-complementary
#7A33BB #B8BB33 #33BB36
monochromatic
#3B195B #5B268B #7A33BB #9859D2 #B689DF

Accessibility & contrast

On white

6.96
#7A33BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7A33BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A33BB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A33BB#FFFFFF#000000##FFFFFF
##7A33BB1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#6D5474
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a33bb;
/* rgb */ color: rgb(122, 51, 187);
/* oklch */ color: oklch(49.0% 0.202 303.5);
Tailwind
colors: {
  custom: {
    50: '#a671d0',
    500: '#7a33bb',
    950: '#000000',
  },
}
SCSS
$custom: #7a33bb;
$custom-light: #a671d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a33bb",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 271.324,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49029,
    "c": 0.2017,
    "h": 303.5
  },
  "luminance": 0.10093
}

Semantic roles & 50–950 ramp

primary
#7A33BB
secondary
#A3C981
accent
#E04791
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A33BB

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

Preview Lab → · Contrast checker → · Palette generator →

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