#7C3AD3#7C3AD3

#7C3AD3 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.219 H 297.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7C3AD3
RGBrgb(124, 58, 211)
HSLhsl(266, 63%, 53%)
HSVhsv(266, 73%, 83%)
CMYKcmyk(41.2%, 72.5%, 0%, 17.3%)
CIE-LABlab(41.24, 58.31, -67.79)
CIE-LCHlch(41.24, 89.42, 310.70°)
OKLaboklab(51.95% 0.1026 -0.1938)
OKLCHoklch(51.95% 0.219 297.9)
XYZxyz(21.5801, 12.0140, 62.7973)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3AD3 #91D33A
analogous
#3A45D3 #7C3AD3 #C83AD3
triadic
#7C3AD3 #D37C3A #3AD37C
tetradic
#7C3AD3 #D33A45 #91D33A #3AD3C8
square
#7C3AD3 #D33A45 #91D33A #3AD3C8
split-complementary
#7C3AD3 #D3C83A #45D33A
monochromatic
#431B78 #5F26AA #7C3AD3 #9D6CDE #BF9EE9

Accessibility & contrast

On white

6.17
#7C3AD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7C3AD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3AD3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3AD3#FFFFFF#000000##FFFFFF
##7C3AD31.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#666183
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c3ad3;
/* rgb */ color: rgb(124, 58, 211);
/* oklch */ color: oklch(52.0% 0.219 297.9);
Tailwind
colors: {
  custom: {
    50: '#a976e2',
    500: '#7c3ad3',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ad3;
$custom-light: #a976e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ad3",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 211
  },
  "hsl": {
    "h": 265.882,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51952,
    "c": 0.21931,
    "h": 297.9
  },
  "luminance": 0.12014
}

Semantic roles & 50–950 ramp

primary
#7C3AD3
secondary
#B9D693
accent
#E7419F
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110915
muted
#807B84

Preview Lab

Preview with #7C3AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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