#7C3ABA#7C3ABA

#7C3ABA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.193 H 303.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7C3ABA
RGBrgb(124, 58, 186)
HSLhsl(271, 52%, 48%)
HSVhsv(271, 69%, 73%)
CMYKcmyk(33.3%, 68.8%, 0%, 27.1%)
CIE-LABlab(39.34, 52.21, -56.33)
CIE-LCHlch(39.34, 76.81, 312.82°)
OKLaboklab(50.01% 0.107 -0.1601)
OKLCHoklch(50.01% 0.193 303.8)
XYZxyz(18.6861, 10.8564, 47.5559)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3ABA #78BA3A
analogous
#3C3ABA #7C3ABA #BA3AB8
triadic
#7C3ABA #BA7C3A #3ABA7C
tetradic
#7C3ABA #BA3C3A #78BA3A #3AB8BA
square
#7C3ABA #BA3C3A #78BA3A #3AB8BA
split-complementary
#7C3ABA #B8BA3A #3ABA3C
monochromatic
#3E1D5D #5D2B8B #7C3ABA #9A63CE #B892DD

Accessibility & contrast

On white

6.62
#7C3ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7C3ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3ABA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3ABA#FFFFFF#000000##FFFFFF
##7C3ABA1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#705775
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c3aba;
/* rgb */ color: rgb(124, 58, 186);
/* oklch */ color: oklch(50.0% 0.193 303.8);
Tailwind
colors: {
  custom: {
    50: '#a775d0',
    500: '#7c3aba',
    950: '#000000',
  },
}
SCSS
$custom: #7c3aba;
$custom-light: #a775d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3aba",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 270.938,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50007,
    "c": 0.19261,
    "h": 303.8
  },
  "luminance": 0.10856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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