#7C3ABD#7C3ABD

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

Color values

HEX#7C3ABD
RGBrgb(124, 58, 189)
HSLhsl(270, 53%, 48%)
HSVhsv(270, 69%, 74%)
CMYKcmyk(34.4%, 69.3%, 0%, 25.9%)
CIE-LABlab(39.56, 52.93, -57.74)
CIE-LCHlch(39.56, 78.33, 312.51°)
OKLaboklab(50.23% 0.1066 -0.1643)
OKLCHoklch(50.23% 0.196 303)
XYZxyz(19.0084, 10.9853, 49.2532)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3ABD #7BBD3A
analogous
#3B3ABD #7C3ABD #BD3ABC
triadic
#7C3ABD #BD7C3A #3ABD7C
tetradic
#7C3ABD #BD3B3A #7BBD3A #3ABCBD
square
#7C3ABD #BD3B3A #7BBD3A #3ABCBD
split-complementary
#7C3ABD #BCBD3A #3ABD3B
monochromatic
#3F1D5F #5D2C8E #7C3ABD #9B65D0 #B993DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C3ABD#FFFFFF#000000##FFFFFF
##7C3ABD1.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)
#005CC1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#6F5877
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c3abd;
/* rgb */ color: rgb(124, 58, 189);
/* oklch */ color: oklch(50.2% 0.196 303.0);
Tailwind
colors: {
  custom: {
    50: '#a775d2',
    500: '#7c3abd',
    950: '#000000',
  },
}
SCSS
$custom: #7c3abd;
$custom-light: #a775d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3abd",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 189
  },
  "hsl": {
    "h": 270.229,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50231,
    "c": 0.19584,
    "h": 303
  },
  "luminance": 0.10985
}

Semantic roles & 50–950 ramp

primary
#7C3ABD
secondary
#A9C98A
accent
#DC4B93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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