#7C33B7#7C33B7

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

Color values

HEX#7C33B7
RGBrgb(124, 51, 183)
HSLhsl(273, 56%, 46%)
HSVhsv(273, 72%, 72%)
CMYKcmyk(32.2%, 72.1%, 0%, 28.2%)
CIE-LABlab(37.97, 54.72, -56.78)
CIE-LCHlch(37.97, 78.86, 313.94°)
OKLaboklab(48.96% 0.1147 -0.1614)
OKLCHoklch(48.96% 0.198 305.4)
XYZxyz(18.0413, 10.0718, 45.7842)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C33B7 #6EB733
analogous
#3A33B7 #7C33B7 #B733B0
triadic
#7C33B7 #B77C33 #33B77C
tetradic
#7C33B7 #B73A33 #6EB733 #33B0B7
square
#7C33B7 #B73A33 #6EB733 #33B0B7
split-complementary
#7C33B7 #B0B733 #33B73A
monochromatic
#3B1857 #5C2687 #7C33B7 #9A57D0 #B787DE

Accessibility & contrast

On white

6.97
#7C33B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7C33B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C33B7
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C33B7#FFFFFF#000000##FFFFFF
##7C33B71.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#715272
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c33b7;
/* rgb */ color: rgb(124, 51, 183);
/* oklch */ color: oklch(49.0% 0.198 305.4);
Tailwind
colors: {
  custom: {
    50: '#a771cd',
    500: '#7c33b7',
    950: '#000000',
  },
}
SCSS
$custom: #7c33b7;
$custom-light: #a771cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c33b7",
  "rgb": {
    "r": 124,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 273.182,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48964,
    "c": 0.19802,
    "h": 305.4
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

primary
#7C33B7
secondary
#9FC77F
accent
#E0488C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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