#7E33A7#7E33A7

#7E33A7 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.182 H 311.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7E33A7
RGBrgb(126, 51, 167)
HSLhsl(279, 53%, 43%)
HSVhsv(279, 69%, 65%)
CMYKcmyk(24.6%, 69.5%, 0%, 34.5%)
CIE-LABlab(37.10, 51.50, -48.66)
CIE-LCHlch(37.10, 70.85, 316.62°)
OKLaboklab(48.04% 0.1196 -0.1375)
OKLCHoklch(48.04% 0.182 311)
XYZxyz(16.7617, 9.5937, 37.5205)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33A7 #5CA733
analogous
#4433A7 #7E33A7 #A73396
triadic
#7E33A7 #A77E33 #33A77E
tetradic
#7E33A7 #A74433 #5CA733 #3396A7
square
#7E33A7 #A74433 #5CA733 #3396A7
split-complementary
#7E33A7 #96A733 #33A744
monochromatic
#371649 #5B2578 #7E33A7 #9E4EC9 #B77DD7

Accessibility & contrast

On white

7.20
#7E33A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7E33A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E33A7
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33A7#FFFFFF#000000##FFFFFF
##7E33A71.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#2359A4
Tritanopia (blue-blind)
#794C69
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7e33a7;
/* rgb */ color: rgb(126, 51, 167);
/* oklch */ color: oklch(48.0% 0.182 311.0);
Tailwind
colors: {
  custom: {
    50: '#a771c2',
    500: '#7e33a7',
    950: '#000000',
  },
}
SCSS
$custom: #7e33a7;
$custom-light: #a771c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33a7",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 167
  },
  "hsl": {
    "h": 278.793,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48043,
    "c": 0.18225,
    "h": 311
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

primary
#7E33A7
secondary
#90C076
accent
#DD4B7F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7E33A7

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

Preview Lab → · Contrast checker → · Palette generator →

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