#7C33B5#7C33B5

#7C33B5 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.8% C 0.196 H 305.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7C33B5
RGBrgb(124, 51, 181)
HSLhsl(274, 56%, 45%)
HSVhsv(274, 72%, 71%)
CMYKcmyk(31.5%, 71.8%, 0%, 29%)
CIE-LABlab(37.82, 54.26, -55.84)
CIE-LCHlch(37.82, 77.86, 314.18°)
OKLaboklab(48.81% 0.115 -0.1587)
OKLCHoklch(48.81% 0.196 305.9)
XYZxyz(17.8347, 9.9891, 44.6956)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C33B5 #6CB533
analogous
#3B33B5 #7C33B5 #B533AD
triadic
#7C33B5 #B57C33 #33B57C
tetradic
#7C33B5 #B53B33 #6CB533 #33ADB5
square
#7C33B5 #B53B33 #6CB533 #33ADB5
split-complementary
#7C33B5 #ADB533 #33B53B
monochromatic
#3B1856 #5B2685 #7C33B5 #9A56CF #B786DD

Accessibility & contrast

On white

7.01
#7C33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7C33B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C33B5
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C33B5#FFFFFF#000000##FFFFFF
##7C33B51.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#725171
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c33b5;
/* rgb */ color: rgb(124, 51, 181);
/* oklch */ color: oklch(48.8% 0.196 305.9);
Tailwind
colors: {
  custom: {
    50: '#a771cc',
    500: '#7c33b5',
    950: '#000000',
  },
}
SCSS
$custom: #7c33b5;
$custom-light: #a771cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c33b5",
  "rgb": {
    "r": 124,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 273.692,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48813,
    "c": 0.19597,
    "h": 305.9
  },
  "luminance": 0.09989
}

Semantic roles & 50–950 ramp

primary
#7C33B5
secondary
#9DC67D
accent
#DF488B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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