#7C3ADC#7C3ADC

#7C3ADC is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.229 H 296.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7C3ADC
RGBrgb(124, 58, 220)
HSLhsl(264, 70%, 55%)
HSVhsv(264, 74%, 86%)
CMYKcmyk(43.6%, 73.6%, 0%, 13.7%)
CIE-LABlab(41.97, 60.55, -71.77)
CIE-LCHlch(41.97, 93.90, 310.15°)
OKLaboklab(52.69% 0.1006 -0.2055)
OKLCHoklch(52.69% 0.229 296.1)
XYZxyz(22.7401, 12.4780, 68.9067)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3ADC #9ADC3A
analogous
#3A49DC #7C3ADC #CD3ADC
triadic
#7C3ADC #DC7C3A #3ADC7C
tetradic
#7C3ADC #DC3A49 #9ADC3A #3ADCCD
square
#7C3ADC #DC3A49 #9ADC3A #3ADCCD
split-complementary
#7C3ADC #DCCD3A #49DC3A
monochromatic
#441784 #5E21B8 #7C3ADC #9F6EE5 #C1A2EE

Accessibility & contrast

On white

6.01
#7C3ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7C3ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3ADC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3ADC#FFFFFF#000000##FFFFFF
##7C3ADC1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#626588
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c3adc;
/* rgb */ color: rgb(124, 58, 220);
/* oklch */ color: oklch(52.7% 0.229 296.1);
Tailwind
colors: {
  custom: {
    50: '#aa76e8',
    500: '#7c3adc',
    950: '#000000',
  },
}
SCSS
$custom: #7c3adc;
$custom-light: #aa76e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3adc",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 220
  },
  "hsl": {
    "h": 264.444,
    "s": 69.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5269,
    "c": 0.22882,
    "h": 296.1
  },
  "luminance": 0.12479
}

Semantic roles & 50–950 ramp

primary
#7C3ADC
secondary
#BFDB97
accent
#ED3BA4
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7C3ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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