#7E33B4#7E33B4

#7E33B4 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 49.0% C 0.195 H 307.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7E33B4
RGBrgb(126, 51, 180)
HSLhsl(275, 56%, 45%)
HSVhsv(275, 72%, 71%)
CMYKcmyk(30%, 71.7%, 0%, 29.4%)
CIE-LABlab(38.02, 54.42, -54.92)
CIE-LCHlch(38.02, 77.32, 314.74°)
OKLaboklab(48.99% 0.1179 -0.1559)
OKLCHoklch(48.99% 0.195 307.1)
XYZxyz(18.0245, 10.0988, 44.1709)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33B4 #69B433
analogous
#3E33B4 #7E33B4 #B433A9
triadic
#7E33B4 #B47E33 #33B47E
tetradic
#7E33B4 #B43E33 #69B433 #33A9B4
square
#7E33B4 #B43E33 #69B433 #33A9B4
split-complementary
#7E33B4 #A9B433 #33B43E
monochromatic
#3B1855 #5D2584 #7E33B4 #9C55CF #B885DC

Accessibility & contrast

On white

6.95
#7E33B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7E33B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E33B4
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33B4#FFFFFF#000000##FFFFFF
##7E33B41.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#045AB1
Tritanopia (blue-blind)
#755170
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7e33b4;
/* rgb */ color: rgb(126, 51, 180);
/* oklch */ color: oklch(49.0% 0.195 307.1);
Tailwind
colors: {
  custom: {
    50: '#a871cb',
    500: '#7e33b4',
    950: '#000000',
  },
}
SCSS
$custom: #7e33b4;
$custom-light: #a871cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33b4",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 180
  },
  "hsl": {
    "h": 274.884,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48986,
    "c": 0.19546,
    "h": 307.1
  },
  "luminance": 0.10099
}

Semantic roles & 50–950 ramp

primary
#7E33B4
secondary
#9BC67D
accent
#DF4988
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E33B4

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

Preview Lab → · Contrast checker → · Palette generator →

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