#7C3ED1#7C3ED1

#7C3ED1 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.213 H 297.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7C3ED1
RGBrgb(124, 62, 209)
HSLhsl(265, 62%, 53%)
HSVhsv(265, 70%, 82%)
CMYKcmyk(40.7%, 70.3%, 0%, 18%)
CIE-LABlab(41.74, 55.96, -65.82)
CIE-LCHlch(41.74, 86.39, 310.37°)
OKLaboklab(52.26% 0.0993 -0.188)
OKLCHoklch(52.26% 0.213 297.8)
XYZxyz(21.5405, 12.3334, 61.5549)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3ED1 #93D13E
analogous
#3E49D1 #7C3ED1 #C53ED1
triadic
#7C3ED1 #D17C3E #3ED17C
tetradic
#7C3ED1 #D13E49 #93D13E #3ED1C5
square
#7C3ED1 #D13E49 #93D13E #3ED1C5
split-complementary
#7C3ED1 #D1C53E #49D13E
monochromatic
#431D78 #5F28A9 #7C3ED1 #9E6FDD #BFA1E9

Accessibility & contrast

On white

6.06
#7C3ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7C3ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3ED1
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3ED1#FFFFFF#000000##FFFFFF
##7C3ED11.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#0061CE
Tritanopia (blue-blind)
#676283
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7c3ed1;
/* rgb */ color: rgb(124, 62, 209);
/* oklch */ color: oklch(52.3% 0.213 297.8);
Tailwind
colors: {
  custom: {
    50: '#a978e0',
    500: '#7c3ed1',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ed1;
$custom-light: #a978e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ed1",
  "rgb": {
    "r": 124,
    "g": 62,
    "b": 209
  },
  "hsl": {
    "h": 265.306,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5226,
    "c": 0.21265,
    "h": 297.8
  },
  "luminance": 0.12334
}

Semantic roles & 50–950 ramp

primary
#7C3ED1
secondary
#BAD596
accent
#E543A1
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7C3ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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