#7E33C6#7E33C6

#7E33C6 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.4% C 0.214 H 302.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7E33C6
RGBrgb(126, 51, 198)
HSLhsl(271, 59%, 49%)
HSVhsv(271, 74%, 78%)
CMYKcmyk(36.4%, 74.2%, 0%, 22.4%)
CIE-LABlab(39.38, 58.59, -63.28)
CIE-LCHlch(39.38, 86.24, 312.80°)
OKLaboklab(50.37% 0.1146 -0.1804)
OKLCHoklch(50.37% 0.214 302.4)
XYZxyz(19.9786, 10.8804, 54.4627)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33C6 #7BC633
analogous
#3533C6 #7E33C6 #C633C5
triadic
#7E33C6 #C67E33 #33C67E
tetradic
#7E33C6 #C63533 #7BC633 #33C5C6
square
#7E33C6 #C63533 #7BC633 #33C5C6
split-complementary
#7E33C6 #C5C633 #33C635
monochromatic
#401A65 #5F2695 #7E33C6 #9C60D6 #BB91E3

Accessibility & contrast

On white

6.61
#7E33C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7E33C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E33C6
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33C6#FFFFFF#000000##FFFFFF
##7E33C61.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#6F587A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e33c6;
/* rgb */ color: rgb(126, 51, 198);
/* oklch */ color: oklch(50.4% 0.214 302.4);
Tailwind
colors: {
  custom: {
    50: '#aa72d8',
    500: '#7e33c6',
    950: '#000000',
  },
}
SCSS
$custom: #7e33c6;
$custom-light: #aa72d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33c6",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 198
  },
  "hsl": {
    "h": 270.612,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50374,
    "c": 0.21374,
    "h": 302.4
  },
  "luminance": 0.1088
}

Semantic roles & 50–950 ramp

primary
#7E33C6
secondary
#AACD87
accent
#E24692
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7E33C6

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

Preview Lab → · Contrast checker → · Palette generator →

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