#7C3EB3#7C3EB3

#7C3EB3 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.180 H 305.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7C3EB3
RGBrgb(124, 62, 179)
HSLhsl(272, 49%, 47%)
HSVhsv(272, 65%, 70%)
CMYKcmyk(30.7%, 65.4%, 0%, 29.8%)
CIE-LABlab(39.56, 48.57, -51.86)
CIE-LCHlch(39.56, 71.05, 313.12°)
OKLaboklab(50.01% 0.1034 -0.147)
OKLCHoklch(50.01% 0.18 305.1)
XYZxyz(18.1697, 10.9851, 43.8022)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3EB3 #75B33E
analogous
#423EB3 #7C3EB3 #B33EB0
triadic
#7C3EB3 #B37C3E #3EB37C
tetradic
#7C3EB3 #B3423E #75B33E #3EB0B3
square
#7C3EB3 #B3423E #75B33E #3EB0B3
split-complementary
#7C3EB3 #B0B33E #3EB342
monochromatic
#3D1F58 #5D2E86 #7C3EB3 #9A65CA #B892D9

Accessibility & contrast

On white

6.57
#7C3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7C3EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3EB3
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3EB3#FFFFFF#000000##FFFFFF
##7C3EB31.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#1E5DB0
Tritanopia (blue-blind)
#725773
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c3eb3;
/* rgb */ color: rgb(124, 62, 179);
/* oklch */ color: oklch(50.0% 0.180 305.1);
Tailwind
colors: {
  custom: {
    50: '#a677ca',
    500: '#7c3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #7c3eb3;
$custom-light: #a677ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3eb3",
  "rgb": {
    "r": 124,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 271.795,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50007,
    "c": 0.17969,
    "h": 305.1
  },
  "luminance": 0.10985
}

Semantic roles & 50–950 ramp

primary
#7C3EB3
secondary
#A5C588
accent
#D85090
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7C3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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