#7A33B8#7A33B8

#7A33B8 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.8% C 0.199 H 304.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7A33B8
RGBrgb(122, 51, 184)
HSLhsl(272, 57%, 46%)
HSVhsv(272, 72%, 72%)
CMYKcmyk(33.7%, 72.3%, 0%, 27.8%)
CIE-LABlab(37.78, 54.57, -57.69)
CIE-LCHlch(37.78, 79.41, 313.41°)
OKLaboklab(48.8% 0.1118 -0.1642)
OKLCHoklch(48.8% 0.199 304.2)
XYZxyz(17.8596, 9.9660, 46.3208)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A33B8 #71B833
analogous
#3733B8 #7A33B8 #B833B3
triadic
#7A33B8 #B87A33 #33B87A
tetradic
#7A33B8 #B83733 #71B833 #33B3B8
square
#7A33B8 #B83733 #71B833 #33B3B8
split-complementary
#7A33B8 #B3B833 #33B837
monochromatic
#3A1858 #5A2688 #7A33B8 #9858D1 #B688DE

Accessibility & contrast

On white

7.02
#7A33B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7A33B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A33B8
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A33B8#FFFFFF#000000##FFFFFF
##7A33B81.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a33b8;
/* rgb */ color: rgb(122, 51, 184);
/* oklch */ color: oklch(48.8% 0.199 304.2);
Tailwind
colors: {
  custom: {
    50: '#a671ce',
    500: '#7a33b8',
    950: '#000000',
  },
}
SCSS
$custom: #7a33b8;
$custom-light: #a671ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7a33b8",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 272.03,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48796,
    "c": 0.19859,
    "h": 304.2
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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