#7C3ABB#7C3ABB

#7C3ABB is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.1% C 0.194 H 303.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7C3ABB
RGBrgb(124, 58, 187)
HSLhsl(271, 53%, 48%)
HSVhsv(271, 69%, 73%)
CMYKcmyk(33.7%, 69%, 0%, 26.7%)
CIE-LABlab(39.41, 52.45, -56.80)
CIE-LCHlch(39.41, 77.32, 312.72°)
OKLaboklab(50.08% 0.1069 -0.1615)
OKLCHoklch(50.08% 0.194 303.5)
XYZxyz(18.7928, 10.8991, 48.1178)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3ABB #79BB3A
analogous
#3C3ABB #7C3ABB #BB3AB9
triadic
#7C3ABB #BB7C3A #3ABB7C
tetradic
#7C3ABB #BB3C3A #79BB3A #3AB9BB
square
#7C3ABB #BB3C3A #79BB3A #3AB9BB
split-complementary
#7C3ABB #B9BB3A #3ABB3C
monochromatic
#3E1D5E #5D2C8C #7C3ABB #9A63CF #B992DD

Accessibility & contrast

On white

6.60
#7C3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7C3ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3ABB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3ABB#FFFFFF#000000##FFFFFF
##7C3ABB1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#705876
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c3abb;
/* rgb */ color: rgb(124, 58, 187);
/* oklch */ color: oklch(50.1% 0.194 303.5);
Tailwind
colors: {
  custom: {
    50: '#a775d0',
    500: '#7c3abb',
    950: '#000000',
  },
}
SCSS
$custom: #7c3abb;
$custom-light: #a775d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3abb",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 270.698,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50081,
    "c": 0.19369,
    "h": 303.5
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#7C3ABB
secondary
#A8C888
accent
#DC4C92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7C3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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