#7E33C5#7E33C5

#7E33C5 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.213 H 302.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7E33C5
RGBrgb(126, 51, 197)
HSLhsl(271, 59%, 49%)
HSVhsv(271, 74%, 77%)
CMYKcmyk(36%, 74.1%, 0%, 22.7%)
CIE-LABlab(39.30, 58.35, -62.82)
CIE-LCHlch(39.30, 85.75, 312.89°)
OKLaboklab(50.3% 0.1148 -0.1791)
OKLCHoklch(50.3% 0.213 302.7)
XYZxyz(19.8637, 10.8345, 53.8573)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33C5 #7AC533
analogous
#3533C5 #7E33C5 #C533C3
triadic
#7E33C5 #C57E33 #33C57E
tetradic
#7E33C5 #C53533 #7AC533 #33C3C5
square
#7E33C5 #C53533 #7AC533 #33C3C5
split-complementary
#7E33C5 #C3C533 #33C535
monochromatic
#401A64 #5F2694 #7E33C5 #9C5FD6 #BA90E2

Accessibility & contrast

On white

6.63
#7E33C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7E33C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E33C5
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33C5#FFFFFF#000000##FFFFFF
##7E33C51.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e33c5;
/* rgb */ color: rgb(126, 51, 197);
/* oklch */ color: oklch(50.3% 0.213 302.7);
Tailwind
colors: {
  custom: {
    50: '#a972d8',
    500: '#7e33c5',
    950: '#000000',
  },
}
SCSS
$custom: #7e33c5;
$custom-light: #a972d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33c5",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 197
  },
  "hsl": {
    "h": 270.822,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50295,
    "c": 0.21273,
    "h": 302.7
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

primary
#7E33C5
secondary
#A9CD87
accent
#E24692
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #7E33C5

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

Preview Lab → · Contrast checker → · Palette generator →

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