#7C3FA4#7C3FA4

#7C3FA4 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.162 H 309.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7C3FA4
RGBrgb(124, 63, 164)
HSLhsl(276, 44%, 45%)
HSVhsv(276, 62%, 64%)
CMYKcmyk(24.4%, 61.6%, 0%, 35.7%)
CIE-LABlab(38.76, 44.50, -44.21)
CIE-LCHlch(38.76, 62.73, 315.19°)
OKLaboklab(49.12% 0.1029 -0.1246)
OKLCHoklch(49.12% 0.162 309.5)
XYZxyz(16.7892, 10.5207, 36.2610)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FA4 #67A43F
analogous
#4A3FA4 #7C3FA4 #A43F99
triadic
#7C3FA4 #A47C3F #3FA47C
tetradic
#7C3FA4 #A44A3F #67A43F #3F99A4
square
#7C3FA4 #A44A3F #67A43F #3F99A4
split-complementary
#7C3FA4 #99A43F #3FA44A
monochromatic
#391D4C #5B2E78 #7C3FA4 #9A5FC1 #B68BD2

Accessibility & contrast

On white

6.77
#7C3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7C3FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FA4
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FA4#FFFFFF#000000##FFFFFF
##7C3FA41.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1459A7
Deuteranopia (green-blind)
#325CA2
Tritanopia (blue-blind)
#77526B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c3fa4;
/* rgb */ color: rgb(124, 63, 164);
/* oklch */ color: oklch(49.1% 0.162 309.5);
Tailwind
colors: {
  custom: {
    50: '#a577bf',
    500: '#7c3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fa4;
$custom-light: #a577bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fa4",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 276.238,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.16155,
    "h": 309.5
  },
  "luminance": 0.1052
}

Semantic roles & 50–950 ramp

primary
#7C3FA4
secondary
#99BD82
accent
#D45487
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7C3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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