#7C3AAA#7C3AAA

#7C3AAA is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.9% C 0.175 H 308.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7C3AAA
RGBrgb(124, 58, 170)
HSLhsl(275, 49%, 45%)
HSVhsv(275, 66%, 67%)
CMYKcmyk(27.1%, 65.9%, 0%, 33.3%)
CIE-LABlab(38.22, 48.43, -48.66)
CIE-LCHlch(38.22, 68.65, 314.86°)
OKLaboklab(48.85% 0.1087 -0.1376)
OKLCHoklch(48.85% 0.175 308.3)
XYZxyz(17.0795, 10.2137, 39.0941)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3AAA #68AA3A
analogous
#443AAA #7C3AAA #AA3AA0
triadic
#7C3AAA #AA7C3A #3AAA7C
tetradic
#7C3AAA #AA443A #68AA3A #3AA0AA
square
#7C3AAA #AA443A #68AA3A #3AA0AA
split-complementary
#7C3AAA #A0AA3A #3AAA44
monochromatic
#391B4F #5B2A7C #7C3AAA #9A5AC7 #B688D6

Accessibility & contrast

On white

6.90
#7C3AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7C3AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3AAA
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3AAA#FFFFFF#000000##FFFFFF
##7C3AAA1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#255BA7
Tritanopia (blue-blind)
#75516D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c3aaa;
/* rgb */ color: rgb(124, 58, 170);
/* oklch */ color: oklch(48.9% 0.175 308.3);
Tailwind
colors: {
  custom: {
    50: '#a675c4',
    500: '#7c3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #7c3aaa;
$custom-light: #a675c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3aaa",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 275.357,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48854,
    "c": 0.17537,
    "h": 308.3
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#7C3AAA
secondary
#9AC17F
accent
#D94F88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7C3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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