#7A33C2#7A33C2

#7A33C2 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.209 H 301.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7A33C2
RGBrgb(122, 51, 194)
HSLhsl(270, 58%, 48%)
HSVhsv(270, 74%, 76%)
CMYKcmyk(37.1%, 73.7%, 0%, 23.9%)
CIE-LABlab(38.55, 56.94, -62.31)
CIE-LCHlch(38.55, 84.41, 312.42°)
OKLaboklab(49.58% 0.1098 -0.1777)
OKLCHoklch(49.58% 0.209 301.7)
XYZxyz(18.9451, 10.4002, 52.0378)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A33C2 #7BC233
analogous
#3334C2 #7A33C2 #C133C2
triadic
#7A33C2 #C27A33 #33C27A
tetradic
#7A33C2 #C23334 #7BC233 #33C2C1
square
#7A33C2 #C23334 #7BC233 #33C2C1
split-complementary
#7A33C2 #C2C133 #34C233
monochromatic
#3D1A61 #5C2692 #7A33C2 #995ED5 #B78EE1

Accessibility & contrast

On white

6.82
#7A33C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7A33C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A33C2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A33C2#FFFFFF#000000##FFFFFF
##7A33C21.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#6A5778
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a33c2;
/* rgb */ color: rgb(122, 51, 194);
/* oklch */ color: oklch(49.6% 0.209 301.7);
Tailwind
colors: {
  custom: {
    50: '#a771d5',
    500: '#7a33c2',
    950: '#000000',
  },
}
SCSS
$custom: #7a33c2;
$custom-light: #a771d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a33c2",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 269.79,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49582,
    "c": 0.20893,
    "h": 301.7
  },
  "luminance": 0.104
}

Semantic roles & 50–950 ramp

primary
#7A33C2
secondary
#A9CC85
accent
#E24694
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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