#7C3ABC#7C3ABC

#7C3ABC is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.2% C 0.195 H 303.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7C3ABC
RGBrgb(124, 58, 188)
HSLhsl(270, 53%, 48%)
HSVhsv(270, 69%, 74%)
CMYKcmyk(34%, 69.1%, 0%, 26.3%)
CIE-LABlab(39.48, 52.69, -57.27)
CIE-LCHlch(39.48, 77.83, 312.61°)
OKLaboklab(50.16% 0.1068 -0.1629)
OKLCHoklch(50.16% 0.195 303.2)
XYZxyz(18.9002, 10.9420, 48.6835)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3ABC #7ABC3A
analogous
#3B3ABC #7C3ABC #BC3ABB
triadic
#7C3ABC #BC7C3A #3ABC7C
tetradic
#7C3ABC #BC3B3A #7ABC3A #3ABBBC
square
#7C3ABC #BC3B3A #7ABC3A #3ABBBC
split-complementary
#7C3ABC #BBBC3A #3ABC3B
monochromatic
#3E1D5E #5D2C8D #7C3ABC #9A64CF #B993DE

Accessibility & contrast

On white

6.59
#7C3ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7C3ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3ABC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3ABC#FFFFFF#000000##FFFFFF
##7C3ABC1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#6F5877
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c3abc;
/* rgb */ color: rgb(124, 58, 188);
/* oklch */ color: oklch(50.2% 0.195 303.2);
Tailwind
colors: {
  custom: {
    50: '#a775d1',
    500: '#7c3abc',
    950: '#000000',
  },
}
SCSS
$custom: #7c3abc;
$custom-light: #a775d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3abc",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 270.462,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50156,
    "c": 0.19476,
    "h": 303.2
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#7C3ABC
secondary
#A8C989
accent
#DC4C93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7C3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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