#7C3EAC#7C3EAC

#7C3EAC is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.5% C 0.172 H 307.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7C3EAC
RGBrgb(124, 62, 172)
HSLhsl(274, 47%, 46%)
HSVhsv(274, 64%, 67%)
CMYKcmyk(27.9%, 64%, 0%, 32.5%)
CIE-LABlab(39.09, 46.90, -48.46)
CIE-LCHlch(39.09, 67.44, 314.06°)
OKLaboklab(49.52% 0.1038 -0.137)
OKLCHoklch(49.52% 0.172 307.2)
XYZxyz(17.4796, 10.7091, 40.1680)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3EAC #6EAC3E
analogous
#453EAC #7C3EAC #AC3EA5
triadic
#7C3EAC #AC7C3E #3EAC7C
tetradic
#7C3EAC #AC453E #6EAC3E #3EA5AC
square
#7C3EAC #AC453E #6EAC3E #3EA5AC
split-complementary
#7C3EAC #A5AC3E #3EAC45
monochromatic
#3B1E52 #5C2E7F #7C3EAC #9A61C6 #B78ED6

Accessibility & contrast

On white

6.68
#7C3EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7C3EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3EAC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3EAC#FFFFFF#000000##FFFFFF
##7C3EAC1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#285DAA
Tritanopia (blue-blind)
#74556F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c3eac;
/* rgb */ color: rgb(124, 62, 172);
/* oklch */ color: oklch(49.5% 0.172 307.2);
Tailwind
colors: {
  custom: {
    50: '#a677c5',
    500: '#7c3eac',
    950: '#000000',
  },
}
SCSS
$custom: #7c3eac;
$custom-light: #a677c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3eac",
  "rgb": {
    "r": 124,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 273.818,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49519,
    "c": 0.17192,
    "h": 307.2
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#7C3EAC
secondary
#9FC185
accent
#D7518B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7C3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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