#7C3AC8#7C3AC8

#7C3AC8 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.1% C 0.208 H 300.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7C3AC8
RGBrgb(124, 58, 200)
HSLhsl(268, 56%, 51%)
HSVhsv(268, 71%, 78%)
CMYKcmyk(38%, 71%, 0%, 21.6%)
CIE-LABlab(40.38, 55.60, -62.83)
CIE-LCHlch(40.38, 83.90, 311.51°)
OKLaboklab(51.08% 0.1048 -0.1792)
OKLCHoklch(51.08% 0.208 300.3)
XYZxyz(20.2480, 11.4812, 55.7817)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3AC8 #86C83A
analogous
#3A3FC8 #7C3AC8 #C33AC8
triadic
#7C3AC8 #C87C3A #3AC87C
tetradic
#7C3AC8 #C83A3F #86C83A #3AC8C3
square
#7C3AC8 #C83A3F #86C83A #3AC8C3
split-complementary
#7C3AC8 #C8C33A #3FC83A
monochromatic
#411E6A #5E2B9A #7C3AC8 #9C6AD5 #BC9AE3

Accessibility & contrast

On white

6.37
#7C3AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7C3AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3AC8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3AC8#FFFFFF#000000##FFFFFF
##7C3AC81.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#6B5D7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c3ac8;
/* rgb */ color: rgb(124, 58, 200);
/* oklch */ color: oklch(51.1% 0.208 300.3);
Tailwind
colors: {
  custom: {
    50: '#a876da',
    500: '#7c3ac8',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ac8;
$custom-light: #a876da;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ac8",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 267.887,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51076,
    "c": 0.20761,
    "h": 300.3
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

primary
#7C3AC8
secondary
#B1CE8F
accent
#E04899
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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