#7C3AC0#7C3AC0

#7C3AC0 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.5% C 0.199 H 302.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7C3AC0
RGBrgb(124, 58, 192)
HSLhsl(270, 54%, 49%)
HSVhsv(270, 70%, 75%)
CMYKcmyk(35.4%, 69.8%, 0%, 24.7%)
CIE-LABlab(39.78, 53.66, -59.14)
CIE-LCHlch(39.78, 79.85, 312.22°)
OKLaboklab(50.46% 0.1062 -0.1684)
OKLCHoklch(50.46% 0.199 302.2)
XYZxyz(19.3374, 11.1169, 50.9860)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3AC0 #7EC03A
analogous
#3A3BC0 #7C3AC0 #BF3AC0
triadic
#7C3AC0 #C07C3A #3AC07C
tetradic
#7C3AC0 #C03A3B #7EC03A #3AC0BF
square
#7C3AC0 #C03A3B #7EC03A #3AC0BF
split-complementary
#7C3AC0 #C0BF3A #3BC03A
monochromatic
#3F1E62 #5E2C91 #7C3AC0 #9B66D1 #BA95DF

Accessibility & contrast

On white

6.51
#7C3AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7C3AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3AC0
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3AC0#FFFFFF#000000##FFFFFF
##7C3AC01.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#6E5A79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c3ac0;
/* rgb */ color: rgb(124, 58, 192);
/* oklch */ color: oklch(50.5% 0.199 302.2);
Tailwind
colors: {
  custom: {
    50: '#a775d4',
    500: '#7c3ac0',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ac0;
$custom-light: #a775d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ac0",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 269.552,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50458,
    "c": 0.19906,
    "h": 302.2
  },
  "luminance": 0.11117
}

Semantic roles & 50–950 ramp

primary
#7C3AC0
secondary
#ABCA8B
accent
#DD4B95
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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