#7A33B9#7A33B9

#7A33B9 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.9% C 0.200 H 304.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7A33B9
RGBrgb(122, 51, 185)
HSLhsl(272, 57%, 46%)
HSVhsv(272, 72%, 73%)
CMYKcmyk(34.1%, 72.4%, 0%, 27.5%)
CIE-LABlab(37.86, 54.80, -58.16)
CIE-LCHlch(37.86, 79.91, 313.30°)
OKLaboklab(48.87% 0.1116 -0.1655)
OKLCHoklch(48.87% 0.2 304)
XYZxyz(17.9648, 10.0081, 46.8749)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A33B9 #72B933
analogous
#3733B9 #7A33B9 #B933B5
triadic
#7A33B9 #B97A33 #33B97A
tetradic
#7A33B9 #B93733 #72B933 #33B5B9
square
#7A33B9 #B93733 #72B933 #33B5B9
split-complementary
#7A33B9 #B5B933 #33B937
monochromatic
#3B1959 #5A2689 #7A33B9 #9858D1 #B688DE

Accessibility & contrast

On white

7.00
#7A33B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7A33B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A33B9
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A33B9#FFFFFF#000000##FFFFFF
##7A33B91.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#6E5373
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a33b9;
/* rgb */ color: rgb(122, 51, 185);
/* oklch */ color: oklch(48.9% 0.200 304.0);
Tailwind
colors: {
  custom: {
    50: '#a671cf',
    500: '#7a33b9',
    950: '#000000',
  },
}
SCSS
$custom: #7a33b9;
$custom-light: #a671cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a33b9",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 185
  },
  "hsl": {
    "h": 271.791,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48874,
    "c": 0.19963,
    "h": 304
  },
  "luminance": 0.10008
}

Semantic roles & 50–950 ramp

primary
#7A33B9
secondary
#A2C880
accent
#E0488F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A33B9

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

Preview Lab → · Contrast checker → · Palette generator →

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