#7E33BA#7E33BA

#7E33BA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.202 H 305.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7E33BA
RGBrgb(126, 51, 186)
HSLhsl(273, 57%, 46%)
HSVhsv(273, 73%, 73%)
CMYKcmyk(32.3%, 72.6%, 0%, 27.1%)
CIE-LABlab(38.46, 55.80, -57.74)
CIE-LCHlch(38.46, 80.30, 314.02°)
OKLaboklab(49.44% 0.1169 -0.1642)
OKLCHoklch(49.44% 0.202 305.5)
XYZxyz(18.6490, 10.3486, 47.4599)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33BA #6FBA33
analogous
#3A33BA #7E33BA #BA33B3
triadic
#7E33BA #BA7E33 #33BA7E
tetradic
#7E33BA #BA3A33 #6FBA33 #33B3BA
square
#7E33BA #BA3A33 #6FBA33 #33B3BA
split-complementary
#7E33BA #B3BA33 #33BA3A
monochromatic
#3D195A #5D268A #7E33BA #9C59D1 #B889DF

Accessibility & contrast

On white

6.84
#7E33BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7E33BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E33BA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33BA#FFFFFF#000000##FFFFFF
##7E33BA1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#735374
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e33ba;
/* rgb */ color: rgb(126, 51, 186);
/* oklch */ color: oklch(49.4% 0.202 305.5);
Tailwind
colors: {
  custom: {
    50: '#a972d0',
    500: '#7e33ba',
    950: '#000000',
  },
}
SCSS
$custom: #7e33ba;
$custom-light: #a972d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33ba",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 273.333,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49439,
    "c": 0.20155,
    "h": 305.5
  },
  "luminance": 0.10348
}

Semantic roles & 50–950 ramp

primary
#7E33BA
secondary
#A0C980
accent
#E0488B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7E33BA

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

Preview Lab → · Contrast checker → · Palette generator →

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