#7A33A2#7A33A2

#7A33A2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.2% C 0.176 H 310.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7A33A2
RGBrgb(122, 51, 162)
HSLhsl(278, 52%, 42%)
HSVhsv(278, 69%, 64%)
CMYKcmyk(24.7%, 68.5%, 0%, 36.5%)
CIE-LABlab(36.20, 49.50, -47.14)
CIE-LCHlch(36.20, 68.35, 316.40°)
OKLaboklab(47.17% 0.1148 -0.1331)
OKLCHoklch(47.17% 0.176 310.8)
XYZxyz(15.7302, 9.1142, 35.1060)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A33A2 #5BA233
analogous
#4233A2 #7A33A2 #A23393
triadic
#7A33A2 #A27A33 #33A27A
tetradic
#7A33A2 #A24233 #5BA233 #3393A2
square
#7A33A2 #A24233 #5BA233 #3393A2
split-complementary
#7A33A2 #93A233 #33A242
monochromatic
#341645 #572473 #7A33A2 #9A4CC7 #B47AD5

Accessibility & contrast

On white

7.44
#7A33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7A33A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A33A2
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A33A2#FFFFFF#000000##FFFFFF
##7A33A21.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#2456A0
Tritanopia (blue-blind)
#754A66
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a33a2;
/* rgb */ color: rgb(122, 51, 162);
/* oklch */ color: oklch(47.2% 0.176 310.8);
Tailwind
colors: {
  custom: {
    50: '#a470be',
    500: '#7a33a2',
    950: '#000000',
  },
}
SCSS
$custom: #7a33a2;
$custom-light: #a470be;
$custom-dark: #000000;
JSON
{
  "hex": "#7a33a2",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 278.378,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47173,
    "c": 0.1758,
    "h": 310.8
  },
  "luminance": 0.09114
}

Semantic roles & 50–950 ramp

primary
#7A33A2
secondary
#8EBE73
accent
#DC4C80
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7A33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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