#7C3FA2#7C3FA2

#7C3FA2 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.0% C 0.159 H 310.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7C3FA2
RGBrgb(124, 63, 162)
HSLhsl(277, 44%, 44%)
HSVhsv(277, 61%, 64%)
CMYKcmyk(23.5%, 61.1%, 0%, 36.5%)
CIE-LABlab(38.64, 44.04, -43.22)
CIE-LCHlch(38.64, 61.70, 315.54°)
OKLaboklab(48.99% 0.1029 -0.1216)
OKLCHoklch(48.99% 0.159 310.2)
XYZxyz(16.6100, 10.4491, 35.3173)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FA2 #65A23F
analogous
#4B3FA2 #7C3FA2 #A23F97
triadic
#7C3FA2 #A27C3F #3FA27C
tetradic
#7C3FA2 #A24B3F #65A23F #3F97A2
square
#7C3FA2 #A24B3F #65A23F #3F97A2
split-complementary
#7C3FA2 #97A23F #3FA24B
monochromatic
#391D4A #5A2E76 #7C3FA2 #9B5EC0 #B68AD1

Accessibility & contrast

On white

6.80
#7C3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7C3FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FA2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FA2#FFFFFF#000000##FFFFFF
##7C3FA21.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1858A5
Deuteranopia (green-blind)
#345CA0
Tritanopia (blue-blind)
#77526A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c3fa2;
/* rgb */ color: rgb(124, 63, 162);
/* oklch */ color: oklch(49.0% 0.159 310.2);
Tailwind
colors: {
  custom: {
    50: '#a577be',
    500: '#7c3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fa2;
$custom-light: #a577be;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fa2",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 276.97,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48988,
    "c": 0.15931,
    "h": 310.2
  },
  "luminance": 0.10449
}

Semantic roles & 50–950 ramp

primary
#7C3FA2
secondary
#97BC81
accent
#D45485
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7C3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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