#7C3AA2#7C3AA2

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

Color values

HEX#7C3AA2
RGBrgb(124, 58, 162)
HSLhsl(278, 47%, 43%)
HSVhsv(278, 64%, 64%)
CMYKcmyk(23.5%, 64.2%, 0%, 36.5%)
CIE-LABlab(37.70, 46.59, -44.72)
CIE-LCHlch(37.70, 64.58, 316.17°)
OKLaboklab(48.31% 0.1092 -0.126)
OKLCHoklch(48.31% 0.167 310.9)
XYZxyz(16.3456, 9.9202, 35.2291)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3AA2 #60A23A
analogous
#483AA2 #7C3AA2 #A23A94
triadic
#7C3AA2 #A27C3A #3AA27C
tetradic
#7C3AA2 #A2483A #60A23A #3A94A2
square
#7C3AA2 #A2483A #60A23A #3A94A2
split-complementary
#7C3AA2 #94A23A #3AA248
monochromatic
#371A48 #5A2A75 #7C3AA2 #9B57C3 #B684D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C3AA2#FFFFFF#000000##FFFFFF
##7C3AA21.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)
#0456A5
Deuteranopia (green-blind)
#2F5AA0
Tritanopia (blue-blind)
#774E69
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c3aa2;
/* rgb */ color: rgb(124, 58, 162);
/* oklch */ color: oklch(48.3% 0.167 310.9);
Tailwind
colors: {
  custom: {
    50: '#a574be',
    500: '#7c3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #7c3aa2;
$custom-light: #a574be;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3aa2",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 278.077,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48308,
    "c": 0.16674,
    "h": 310.9
  },
  "luminance": 0.0992
}

Semantic roles & 50–950 ramp

primary
#7C3AA2
secondary
#93BD7B
accent
#D75182
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7C3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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