#7E33B8#7E33B8

#7E33B8 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.3% C 0.200 H 306.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7E33B8
RGBrgb(126, 51, 184)
HSLhsl(274, 57%, 46%)
HSVhsv(274, 72%, 72%)
CMYKcmyk(31.5%, 72.3%, 0%, 27.8%)
CIE-LABlab(38.31, 55.34, -56.81)
CIE-LCHlch(38.31, 79.30, 314.25°)
OKLaboklab(49.29% 0.1173 -0.1614)
OKLCHoklch(49.29% 0.2 306)
XYZxyz(18.4378, 10.2641, 46.3480)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33B8 #6DB833
analogous
#3C33B8 #7E33B8 #B833AF
triadic
#7E33B8 #B87E33 #33B87E
tetradic
#7E33B8 #B83C33 #6DB833 #33AFB8
square
#7E33B8 #B83C33 #6DB833 #33AFB8
split-complementary
#7E33B8 #AFB833 #33B83C
monochromatic
#3C1858 #5D2688 #7E33B8 #9C58D1 #B888DE

Accessibility & contrast

On white

6.88
#7E33B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7E33B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E33B8
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33B8#FFFFFF#000000##FFFFFF
##7E33B81.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#745272
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7e33b8;
/* rgb */ color: rgb(126, 51, 184);
/* oklch */ color: oklch(49.3% 0.200 306.0);
Tailwind
colors: {
  custom: {
    50: '#a871ce',
    500: '#7e33b8',
    950: '#000000',
  },
}
SCSS
$custom: #7e33b8;
$custom-light: #a871ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33b8",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 273.835,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49287,
    "c": 0.19953,
    "h": 306
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#7E33B8
secondary
#9FC87F
accent
#E0488A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7E33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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