#7E33AF#7E33AF

#7E33AF is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.190 H 308.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7E33AF
RGBrgb(126, 51, 175)
HSLhsl(276, 55%, 44%)
HSVhsv(276, 71%, 69%)
CMYKcmyk(28%, 70.9%, 0%, 31.4%)
CIE-LABlab(37.66, 53.29, -52.53)
CIE-LCHlch(37.66, 74.83, 315.41°)
OKLaboklab(48.62% 0.1187 -0.1489)
OKLCHoklch(48.62% 0.19 308.6)
XYZxyz(17.5243, 9.8987, 41.5366)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33AF #64AF33
analogous
#4033AF #7E33AF #AF33A2
triadic
#7E33AF #AF7E33 #33AF7E
tetradic
#7E33AF #AF4033 #64AF33 #33A2AF
square
#7E33AF #AF4033 #64AF33 #33A2AF
split-complementary
#7E33AF #A2AF33 #33AF40
monochromatic
#3A1750 #5C2580 #7E33AF #9C52CD #B782DB

Accessibility & contrast

On white

7.05
#7E33AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7E33AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E33AF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33AF#FFFFFF#000000##FFFFFF
##7E33AF1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#1559AC
Tritanopia (blue-blind)
#764F6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7e33af;
/* rgb */ color: rgb(126, 51, 175);
/* oklch */ color: oklch(48.6% 0.190 308.6);
Tailwind
colors: {
  custom: {
    50: '#a871c8',
    500: '#7e33af',
    950: '#000000',
  },
}
SCSS
$custom: #7e33af;
$custom-light: #a871c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33af",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 276.29,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48617,
    "c": 0.19037,
    "h": 308.6
  },
  "luminance": 0.09898
}

Semantic roles & 50–950 ramp

primary
#7E33AF
secondary
#97C47A
accent
#DE4A84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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