#7A33C5#7A33C5

#7A33C5 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.212 H 301.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7A33C5
RGBrgb(122, 51, 197)
HSLhsl(269, 59%, 49%)
HSVhsv(269, 74%, 77%)
CMYKcmyk(38.1%, 74.1%, 0%, 22.7%)
CIE-LABlab(38.79, 57.65, -63.68)
CIE-LCHlch(38.79, 85.90, 312.16°)
OKLaboklab(49.82% 0.1092 -0.1818)
OKLCHoklch(49.82% 0.212 301)
XYZxyz(19.2854, 10.5363, 53.8302)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A33C5 #7EC533
analogous
#3335C5 #7A33C5 #C333C5
triadic
#7A33C5 #C57A33 #33C57A
tetradic
#7A33C5 #C53335 #7EC533 #33C5C3
square
#7A33C5 #C53335 #7EC533 #33C5C3
split-complementary
#7A33C5 #C5C333 #35C533
monochromatic
#3E1A64 #5C2694 #7A33C5 #995FD6 #B890E2

Accessibility & contrast

On white

6.76
#7A33C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7A33C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A33C5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A33C5#FFFFFF#000000##FFFFFF
##7A33C51.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#69587A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a33c5;
/* rgb */ color: rgb(122, 51, 197);
/* oklch */ color: oklch(49.8% 0.212 301.0);
Tailwind
colors: {
  custom: {
    50: '#a772d8',
    500: '#7a33c5',
    950: '#000000',
  },
}
SCSS
$custom: #7a33c5;
$custom-light: #a772d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a33c5",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 197
  },
  "hsl": {
    "h": 269.178,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49823,
    "c": 0.21202,
    "h": 301
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#7A33C5
secondary
#ABCD87
accent
#E24696
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7A33C5

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

Preview Lab → · Contrast checker → · Palette generator →

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