#7C33C2#7C33C2

#7C33C2 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.209 H 302.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7C33C2
RGBrgb(124, 51, 194)
HSLhsl(271, 58%, 48%)
HSVhsv(271, 74%, 76%)
CMYKcmyk(36.1%, 73.7%, 0%, 23.9%)
CIE-LABlab(38.81, 57.29, -61.89)
CIE-LCHlch(38.81, 84.33, 312.79°)
OKLaboklab(49.82% 0.1126 -0.1764)
OKLCHoklch(49.82% 0.209 302.6)
XYZxyz(19.2313, 10.5477, 52.0512)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C33C2 #79C233
analogous
#3433C2 #7C33C2 #C233C0
triadic
#7C33C2 #C27C33 #33C27C
tetradic
#7C33C2 #C23433 #79C233 #33C0C2
square
#7C33C2 #C23433 #79C233 #33C0C2
split-complementary
#7C33C2 #C0C233 #33C234
monochromatic
#3E1A61 #5D2692 #7C33C2 #9A5ED5 #B98EE1

Accessibility & contrast

On white

6.75
#7C33C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7C33C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C33C2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C33C2#FFFFFF#000000##FFFFFF
##7C33C21.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#6D5778
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c33c2;
/* rgb */ color: rgb(124, 51, 194);
/* oklch */ color: oklch(49.8% 0.209 302.6);
Tailwind
colors: {
  custom: {
    50: '#a872d5',
    500: '#7c33c2',
    950: '#000000',
  },
}
SCSS
$custom: #7c33c2;
$custom-light: #a872d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c33c2",
  "rgb": {
    "r": 124,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 270.629,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49819,
    "c": 0.2093,
    "h": 302.6
  },
  "luminance": 0.10548
}

Semantic roles & 50–950 ramp

primary
#7C33C2
secondary
#A8CC85
accent
#E24692
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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