#7E33AE#7E33AE

#7E33AE is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.189 H 308.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7E33AE
RGBrgb(126, 51, 174)
HSLhsl(277, 55%, 44%)
HSVhsv(277, 71%, 68%)
CMYKcmyk(27.6%, 70.7%, 0%, 31.8%)
CIE-LABlab(37.59, 53.06, -52.05)
CIE-LCHlch(37.59, 74.33, 315.55°)
OKLaboklab(48.55% 0.1188 -0.1474)
OKLCHoklch(48.55% 0.189 308.9)
XYZxyz(17.4264, 9.8596, 41.0213)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33AE #63AE33
analogous
#4033AE #7E33AE #AE33A1
triadic
#7E33AE #AE7E33 #33AE7E
tetradic
#7E33AE #AE4033 #63AE33 #33A1AE
square
#7E33AE #AE4033 #63AE33 #33A1AE
split-complementary
#7E33AE #A1AE33 #33AE40
monochromatic
#39174F #5C257F #7E33AE #9D52CC #B781DA

Accessibility & contrast

On white

7.07
#7E33AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7E33AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E33AE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33AE#FFFFFF#000000##FFFFFF
##7E33AE1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#1759AB
Tritanopia (blue-blind)
#774E6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7e33ae;
/* rgb */ color: rgb(126, 51, 174);
/* oklch */ color: oklch(48.5% 0.189 308.9);
Tailwind
colors: {
  custom: {
    50: '#a871c7',
    500: '#7e33ae',
    950: '#000000',
  },
}
SCSS
$custom: #7e33ae;
$custom-light: #a871c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33ae",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 276.585,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48545,
    "c": 0.18935,
    "h": 308.9
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#7E33AE
secondary
#96C379
accent
#DE4A84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E33AE

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

Preview Lab → · Contrast checker → · Palette generator →

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