#7A33B7#7A33B7

#7A33B7 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.7% C 0.198 H 304.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7A33B7
RGBrgb(122, 51, 183)
HSLhsl(272, 56%, 46%)
HSVhsv(272, 72%, 72%)
CMYKcmyk(33.3%, 72.1%, 0%, 28.2%)
CIE-LABlab(37.71, 54.33, -57.22)
CIE-LCHlch(37.71, 78.91, 313.52°)
OKLaboklab(48.72% 0.1119 -0.1628)
OKLCHoklch(48.72% 0.198 304.5)
XYZxyz(17.7552, 9.9242, 45.7707)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A33B7 #70B733
analogous
#3833B7 #7A33B7 #B733B2
triadic
#7A33B7 #B77A33 #33B77A
tetradic
#7A33B7 #B73833 #70B733 #33B2B7
square
#7A33B7 #B73833 #70B733 #33B2B7
split-complementary
#7A33B7 #B2B733 #33B738
monochromatic
#3A1857 #5A2687 #7A33B7 #9857D0 #B587DE

Accessibility & contrast

On white

7.04
#7A33B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7A33B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A33B7
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A33B7#FFFFFF#000000##FFFFFF
##7A33B71.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#6E5372
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a33b7;
/* rgb */ color: rgb(122, 51, 183);
/* oklch */ color: oklch(48.7% 0.198 304.5);
Tailwind
colors: {
  custom: {
    50: '#a671cd',
    500: '#7a33b7',
    950: '#000000',
  },
}
SCSS
$custom: #7a33b7;
$custom-light: #a671cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a33b7",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 272.273,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48719,
    "c": 0.19755,
    "h": 304.5
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#7A33B7
secondary
#A0C77F
accent
#E0488E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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