#7E33B9#7E33B9

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

Color values

HEX#7E33B9
RGBrgb(126, 51, 185)
HSLhsl(274, 57%, 46%)
HSVhsv(274, 72%, 73%)
CMYKcmyk(31.9%, 72.4%, 0%, 27.5%)
CIE-LABlab(38.39, 55.57, -57.28)
CIE-LCHlch(38.39, 79.80, 314.13°)
OKLaboklab(49.36% 0.1171 -0.1628)
OKLCHoklch(49.36% 0.201 305.7)
XYZxyz(18.5430, 10.3062, 46.9020)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33B9 #6EB933
analogous
#3B33B9 #7E33B9 #B933B1
triadic
#7E33B9 #B97E33 #33B97E
tetradic
#7E33B9 #B93B33 #6EB933 #33B1B9
square
#7E33B9 #B93B33 #6EB933 #33B1B9
split-complementary
#7E33B9 #B1B933 #33B93B
monochromatic
#3D1959 #5D2689 #7E33B9 #9C58D1 #B888DE

Accessibility & contrast

On white

6.86
#7E33B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7E33B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E33B9
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33B9#FFFFFF#000000##FFFFFF
##7E33B91.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#735373
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7e33b9;
/* rgb */ color: rgb(126, 51, 185);
/* oklch */ color: oklch(49.4% 0.201 305.7);
Tailwind
colors: {
  custom: {
    50: '#a871cf',
    500: '#7e33b9',
    950: '#000000',
  },
}
SCSS
$custom: #7e33b9;
$custom-light: #a871cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33b9",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 185
  },
  "hsl": {
    "h": 273.582,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49363,
    "c": 0.20055,
    "h": 305.7
  },
  "luminance": 0.10306
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E33B9

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

Preview Lab → · Contrast checker → · Palette generator →

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