#7E33AA#7E33AA

#7E33AA is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.185 H 310.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7E33AA
RGBrgb(126, 51, 170)
HSLhsl(278, 54%, 43%)
HSVhsv(278, 70%, 67%)
CMYKcmyk(25.9%, 70%, 0%, 33.3%)
CIE-LABlab(37.31, 52.16, -50.12)
CIE-LCHlch(37.31, 72.34, 316.14°)
OKLaboklab(48.26% 0.1193 -0.1418)
OKLCHoklch(48.26% 0.185 310.1)
XYZxyz(17.0423, 9.7059, 38.9981)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33AA #5FAA33
analogous
#4233AA #7E33AA #AA339A
triadic
#7E33AA #AA7E33 #33AA7E
tetradic
#7E33AA #AA4233 #5FAA33 #339AAA
square
#7E33AA #AA4233 #5FAA33 #339AAA
split-complementary
#7E33AA #9AAA33 #33AA42
monochromatic
#38174C #5B257B #7E33AA #9D50CA #B77FD9

Accessibility & contrast

On white

7.14
#7E33AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7E33AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E33AA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33AA#FFFFFF#000000##FFFFFF
##7E33AA1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#1F59A7
Tritanopia (blue-blind)
#784D6B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7e33aa;
/* rgb */ color: rgb(126, 51, 170);
/* oklch */ color: oklch(48.3% 0.185 310.1);
Tailwind
colors: {
  custom: {
    50: '#a771c4',
    500: '#7e33aa',
    950: '#000000',
  },
}
SCSS
$custom: #7e33aa;
$custom-light: #a771c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33aa",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 277.815,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.18529,
    "h": 310.1
  },
  "luminance": 0.09706
}

Semantic roles & 50–950 ramp

primary
#7E33AA
secondary
#93C277
accent
#DD4B81
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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