#7C3ABE#7C3ABE

#7C3ABE is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.3% C 0.197 H 302.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7C3ABE
RGBrgb(124, 58, 190)
HSLhsl(270, 53%, 49%)
HSVhsv(270, 69%, 75%)
CMYKcmyk(34.7%, 69.5%, 0%, 25.5%)
CIE-LABlab(39.63, 53.17, -58.21)
CIE-LCHlch(39.63, 78.84, 312.41°)
OKLaboklab(50.31% 0.1065 -0.1656)
OKLCHoklch(50.31% 0.197 302.7)
XYZxyz(19.1173, 11.0289, 49.8268)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3ABE #7CBE3A
analogous
#3A3ABE #7C3ABE #BE3ABE
triadic
#7C3ABE #BE7C3A #3ABE7C
tetradic
#7C3ABE #BE3A3A #7CBE3A #3ABEBE
square
#7C3ABE #BE3A3A #7CBE3A #3ABEBE
split-complementary
#7C3ABE #BEBE3A #3ABE3A
monochromatic
#3F1D60 #5D2C8F #7C3ABE #9B65D0 #B994DE

Accessibility & contrast

On white

6.55
#7C3ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7C3ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3ABE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3ABE#FFFFFF#000000##FFFFFF
##7C3ABE1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#6F5978
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c3abe;
/* rgb */ color: rgb(124, 58, 190);
/* oklch */ color: oklch(50.3% 0.197 302.7);
Tailwind
colors: {
  custom: {
    50: '#a775d2',
    500: '#7c3abe',
    950: '#000000',
  },
}
SCSS
$custom: #7c3abe;
$custom-light: #a775d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3abe",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 270,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50307,
    "c": 0.19691,
    "h": 302.7
  },
  "luminance": 0.11029
}

Semantic roles & 50–950 ramp

primary
#7C3ABE
secondary
#AACA8A
accent
#DD4B94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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