#7C3AC3#7C3AC3

#7C3AC3 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.202 H 301.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7C3AC3
RGBrgb(124, 58, 195)
HSLhsl(269, 54%, 50%)
HSVhsv(269, 70%, 76%)
CMYKcmyk(36.4%, 70.3%, 0%, 23.5%)
CIE-LABlab(40.00, 54.39, -60.53)
CIE-LCHlch(40.00, 81.37, 311.94°)
OKLaboklab(50.69% 0.1057 -0.1725)
OKLCHoklch(50.69% 0.202 301.5)
XYZxyz(19.6732, 11.2512, 52.7544)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3AC3 #81C33A
analogous
#3A3DC3 #7C3AC3 #C13AC3
triadic
#7C3AC3 #C37C3A #3AC37C
tetradic
#7C3AC3 #C33A3D #81C33A #3AC3C1
square
#7C3AC3 #C33A3D #81C33A #3AC3C1
split-complementary
#7C3AC3 #C3C13A #3DC33A
monochromatic
#401E65 #5E2C94 #7C3AC3 #9B68D2 #BA97E0

Accessibility & contrast

On white

6.46
#7C3AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7C3AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3AC3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3AC3#FFFFFF#000000##FFFFFF
##7C3AC31.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#6D5B7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c3ac3;
/* rgb */ color: rgb(124, 58, 195);
/* oklch */ color: oklch(50.7% 0.202 301.5);
Tailwind
colors: {
  custom: {
    50: '#a875d6',
    500: '#7c3ac3',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ac3;
$custom-light: #a875d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ac3",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 195
  },
  "hsl": {
    "h": 268.905,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50688,
    "c": 0.20227,
    "h": 301.5
  },
  "luminance": 0.11251
}

Semantic roles & 50–950 ramp

primary
#7C3AC3
secondary
#AECC8D
accent
#DE4A97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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