#7C3CAA#7C3CAA

#7C3CAA is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.173 H 308.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7C3CAA
RGBrgb(124, 60, 170)
HSLhsl(275, 48%, 45%)
HSVhsv(275, 65%, 67%)
CMYKcmyk(27.1%, 64.7%, 0%, 33.3%)
CIE-LABlab(38.58, 47.44, -48.08)
CIE-LCHlch(38.58, 67.54, 314.61°)
OKLaboklab(49.11% 0.1064 -0.1359)
OKLCHoklch(49.11% 0.173 308)
XYZxyz(17.1823, 10.4193, 39.1284)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CAA #6AAA3C
analogous
#453CAA #7C3CAA #AA3CA1
triadic
#7C3CAA #AA7C3C #3CAA7C
tetradic
#7C3CAA #AA453C #6AAA3C #3CA1AA
square
#7C3CAA #AA453C #6AAA3C #3CA1AA
split-complementary
#7C3CAA #A1AA3C #3CAA45
monochromatic
#3A1C50 #5B2C7D #7C3CAA #9A5DC6 #B68BD6

Accessibility & contrast

On white

6.81
#7C3CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7C3CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CAA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CAA#FFFFFF#000000##FFFFFF
##7C3CAA1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#285CA8
Tritanopia (blue-blind)
#75536D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c3caa;
/* rgb */ color: rgb(124, 60, 170);
/* oklch */ color: oklch(49.1% 0.173 308.0);
Tailwind
colors: {
  custom: {
    50: '#a676c4',
    500: '#7c3caa',
    950: '#000000',
  },
}
SCSS
$custom: #7c3caa;
$custom-light: #a676c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3caa",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 274.909,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49114,
    "c": 0.17256,
    "h": 308
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

primary
#7C3CAA
secondary
#9CC081
accent
#D75089
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7C3CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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