#7C3AD2#7C3AD2

#7C3AD2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.218 H 298.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7C3AD2
RGBrgb(124, 58, 210)
HSLhsl(266, 63%, 53%)
HSVhsv(266, 72%, 82%)
CMYKcmyk(41%, 72.4%, 0%, 17.6%)
CIE-LABlab(41.16, 58.06, -67.34)
CIE-LCHlch(41.16, 88.92, 310.77°)
OKLaboklab(51.87% 0.1028 -0.1925)
OKLCHoklch(51.87% 0.218 298.1)
XYZxyz(21.4551, 11.9640, 62.1392)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3AD2 #90D23A
analogous
#3A44D2 #7C3AD2 #C83AD2
triadic
#7C3AD2 #D27C3A #3AD27C
tetradic
#7C3AD2 #D23A44 #90D23A #3AD2C8
square
#7C3AD2 #D23A44 #90D23A #3AD2C8
split-complementary
#7C3AD2 #D2C83A #44D23A
monochromatic
#431B77 #5F26A8 #7C3AD2 #9D6CDD #BE9EE9

Accessibility & contrast

On white

6.19
#7C3AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7C3AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3AD2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3AD2#FFFFFF#000000##FFFFFF
##7C3AD21.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#676183
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c3ad2;
/* rgb */ color: rgb(124, 58, 210);
/* oklch */ color: oklch(51.9% 0.218 298.1);
Tailwind
colors: {
  custom: {
    50: '#a976e1',
    500: '#7c3ad2',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ad2;
$custom-light: #a976e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ad2",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 266.053,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51871,
    "c": 0.21825,
    "h": 298.1
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#7C3AD2
secondary
#B8D593
accent
#E6429F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7C3AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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