#7C3EB7#7C3EB7

#7C3EB7 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.184 H 304.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7C3EB7
RGBrgb(124, 62, 183)
HSLhsl(271, 49%, 48%)
HSVhsv(271, 66%, 72%)
CMYKcmyk(32.2%, 66.1%, 0%, 28.2%)
CIE-LABlab(39.83, 49.53, -53.77)
CIE-LCHlch(39.83, 73.11, 312.65°)
OKLaboklab(50.29% 0.103 -0.1526)
OKLCHoklch(50.29% 0.184 304)
XYZxyz(18.5801, 11.1493, 45.9637)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3EB7 #79B73E
analogous
#3F3EB7 #7C3EB7 #B73EB5
triadic
#7C3EB7 #B77C3E #3EB77C
tetradic
#7C3EB7 #B73F3E #79B73E #3EB5B7
square
#7C3EB7 #B73F3E #79B73E #3EB5B7
split-complementary
#7C3EB7 #B5B73E #3EB73F
monochromatic
#3E1F5C #5D2F89 #7C3EB7 #9A67CB #B994DB

Accessibility & contrast

On white

6.50
#7C3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7C3EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3EB7
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3EB7#FFFFFF#000000##FFFFFF
##7C3EB71.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#155EB4
Tritanopia (blue-blind)
#715975
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c3eb7;
/* rgb */ color: rgb(124, 62, 183);
/* oklch */ color: oklch(50.3% 0.184 304.0);
Tailwind
colors: {
  custom: {
    50: '#a677cd',
    500: '#7c3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #7c3eb7;
$custom-light: #a677cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3eb7",
  "rgb": {
    "r": 124,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 270.744,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50293,
    "c": 0.18412,
    "h": 304
  },
  "luminance": 0.11149
}

Semantic roles & 50–950 ramp

primary
#7C3EB7
secondary
#A8C68A
accent
#D94F92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7C3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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