#7C3AC5#7C3AC5

#7C3AC5 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.204 H 301.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7C3AC5
RGBrgb(124, 58, 197)
HSLhsl(268, 55%, 50%)
HSVhsv(268, 71%, 77%)
CMYKcmyk(37.1%, 70.6%, 0%, 22.7%)
CIE-LABlab(40.15, 54.87, -61.45)
CIE-LCHlch(40.15, 82.38, 311.76°)
OKLaboklab(50.84% 0.1053 -0.1752)
OKLCHoklch(50.84% 0.204 301)
XYZxyz(19.9008, 11.3423, 53.9533)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3AC5 #83C53A
analogous
#3A3EC5 #7C3AC5 #C13AC5
triadic
#7C3AC5 #C57C3A #3AC57C
tetradic
#7C3AC5 #C53A3E #83C53A #3AC5C1
square
#7C3AC5 #C53A3E #83C53A #3AC5C1
split-complementary
#7C3AC5 #C5C13A #3EC53A
monochromatic
#401E66 #5E2C96 #7C3AC5 #9B69D3 #BB99E1

Accessibility & contrast

On white

6.43
#7C3AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7C3AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3AC5
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3AC5#FFFFFF#000000##FFFFFF
##7C3AC51.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#6C5C7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c3ac5;
/* rgb */ color: rgb(124, 58, 197);
/* oklch */ color: oklch(50.8% 0.204 301.0);
Tailwind
colors: {
  custom: {
    50: '#a876d7',
    500: '#7c3ac5',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ac5;
$custom-light: #a876d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ac5",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 268.489,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.50842,
    "c": 0.20441,
    "h": 301
  },
  "luminance": 0.11342
}

Semantic roles & 50–950 ramp

primary
#7C3AC5
secondary
#AFCD8E
accent
#DE4A98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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