#7E33B7#7E33B7

#7E33B7 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.2% C 0.199 H 306.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7E33B7
RGBrgb(126, 51, 183)
HSLhsl(274, 56%, 46%)
HSVhsv(274, 72%, 72%)
CMYKcmyk(31.1%, 72.1%, 0%, 28.2%)
CIE-LABlab(38.24, 55.11, -56.34)
CIE-LCHlch(38.24, 78.81, 314.37°)
OKLaboklab(49.21% 0.1175 -0.16)
OKLCHoklch(49.21% 0.199 306.3)
XYZxyz(18.3334, 10.2223, 45.7979)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33B7 #6CB733
analogous
#3C33B7 #7E33B7 #B733AE
triadic
#7E33B7 #B77E33 #33B77E
tetradic
#7E33B7 #B73C33 #6CB733 #33AEB7
square
#7E33B7 #B73C33 #6CB733 #33AEB7
split-complementary
#7E33B7 #AEB733 #33B73C
monochromatic
#3C1857 #5D2687 #7E33B7 #9C57D0 #B887DE

Accessibility & contrast

On white

6.90
#7E33B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7E33B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E33B7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33B7#FFFFFF#000000##FFFFFF
##7E33B71.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e33b7;
/* rgb */ color: rgb(126, 51, 183);
/* oklch */ color: oklch(49.2% 0.199 306.3);
Tailwind
colors: {
  custom: {
    50: '#a871cd',
    500: '#7e33b7',
    950: '#000000',
  },
}
SCSS
$custom: #7e33b7;
$custom-light: #a871cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33b7",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 274.091,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49211,
    "c": 0.1985,
    "h": 306.3
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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