#7C33B8#7C33B8

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

Color values

HEX#7C33B8
RGBrgb(124, 51, 184)
HSLhsl(273, 57%, 46%)
HSVhsv(273, 72%, 72%)
CMYKcmyk(32.6%, 72.3%, 0%, 27.8%)
CIE-LABlab(38.05, 54.95, -57.25)
CIE-LCHlch(38.05, 79.36, 313.83°)
OKLaboklab(49.04% 0.1145 -0.1628)
OKLCHoklch(49.04% 0.199 305.1)
XYZxyz(18.1458, 10.1135, 46.3343)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C33B8 #6FB833
analogous
#3933B8 #7C33B8 #B833B1
triadic
#7C33B8 #B87C33 #33B87C
tetradic
#7C33B8 #B83933 #6FB833 #33B1B8
square
#7C33B8 #B83933 #6FB833 #33B1B8
split-complementary
#7C33B8 #B1B833 #33B839
monochromatic
#3B1858 #5C2688 #7C33B8 #9A58D1 #B788DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C33B8#FFFFFF#000000##FFFFFF
##7C33B81.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)
#0058BC
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#715372
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c33b8;
/* rgb */ color: rgb(124, 51, 184);
/* oklch */ color: oklch(49.0% 0.199 305.1);
Tailwind
colors: {
  custom: {
    50: '#a771ce',
    500: '#7c33b8',
    950: '#000000',
  },
}
SCSS
$custom: #7c33b8;
$custom-light: #a771ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7c33b8",
  "rgb": {
    "r": 124,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 272.932,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49041,
    "c": 0.19904,
    "h": 305.1
  },
  "luminance": 0.10113
}

Semantic roles & 50–950 ramp

primary
#7C33B8
secondary
#A0C87F
accent
#E0488C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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