#7A33C1#7A33C1

#7A33C1 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.208 H 301.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7A33C1
RGBrgb(122, 51, 193)
HSLhsl(270, 58%, 48%)
HSVhsv(270, 74%, 76%)
CMYKcmyk(36.8%, 73.6%, 0%, 24.3%)
CIE-LABlab(38.47, 56.70, -61.86)
CIE-LCHlch(38.47, 83.91, 312.51°)
OKLaboklab(49.5% 0.11 -0.1764)
OKLCHoklch(49.5% 0.208 301.9)
XYZxyz(18.8332, 10.3554, 51.4483)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A33C1 #7AC133
analogous
#3333C1 #7A33C1 #C133C1
triadic
#7A33C1 #C17A33 #33C17A
tetradic
#7A33C1 #C13333 #7AC133 #33C1C1
square
#7A33C1 #C13333 #7AC133 #33C1C1
split-complementary
#7A33C1 #C1C133 #33C133
monochromatic
#3D1960 #5B2691 #7A33C1 #995DD4 #B78DE1

Accessibility & contrast

On white

6.84
#7A33C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7A33C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A33C1
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A33C1#FFFFFF#000000##FFFFFF
##7A33C11.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#6B5777
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a33c1;
/* rgb */ color: rgb(122, 51, 193);
/* oklch */ color: oklch(49.5% 0.208 301.9);
Tailwind
colors: {
  custom: {
    50: '#a671d5',
    500: '#7a33c1',
    950: '#000000',
  },
}
SCSS
$custom: #7a33c1;
$custom-light: #a671d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a33c1",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 193
  },
  "hsl": {
    "h": 270,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49502,
    "c": 0.20789,
    "h": 301.9
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

primary
#7A33C1
secondary
#A8CB84
accent
#E14694
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A33C1

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

Preview Lab → · Contrast checker → · Palette generator →

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