#7C33B3#7C33B3

#7C33B3 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.7% C 0.194 H 306.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7C33B3
RGBrgb(124, 51, 179)
HSLhsl(274, 56%, 45%)
HSVhsv(274, 72%, 70%)
CMYKcmyk(30.7%, 71.5%, 0%, 29.8%)
CIE-LABlab(37.68, 53.79, -54.89)
CIE-LCHlch(37.68, 76.86, 314.42°)
OKLaboklab(48.66% 0.1154 -0.1559)
OKLCHoklch(48.66% 0.194 306.5)
XYZxyz(17.6309, 9.9076, 43.6226)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C33B3 #6AB333
analogous
#3C33B3 #7C33B3 #B333AA
triadic
#7C33B3 #B37C33 #33B37C
tetradic
#7C33B3 #B33C33 #6AB333 #33AAB3
square
#7C33B3 #B33C33 #6AB333 #33AAB3
split-complementary
#7C33B3 #AAB333 #33B33C
monochromatic
#3A1854 #5B2583 #7C33B3 #9A55CE #B684DC

Accessibility & contrast

On white

7.04
#7C33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7C33B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C33B3
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C33B3#FFFFFF#000000##FFFFFF
##7C33B31.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#735170
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c33b3;
/* rgb */ color: rgb(124, 51, 179);
/* oklch */ color: oklch(48.7% 0.194 306.5);
Tailwind
colors: {
  custom: {
    50: '#a771cb',
    500: '#7c33b3',
    950: '#000000',
  },
}
SCSS
$custom: #7c33b3;
$custom-light: #a771cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c33b3",
  "rgb": {
    "r": 124,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 274.219,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48662,
    "c": 0.19392,
    "h": 306.5
  },
  "luminance": 0.09907
}

Semantic roles & 50–950 ramp

primary
#7C33B3
secondary
#9CC67C
accent
#DF4989
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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