#7C3ED5#7C3ED5

#7C3ED5 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.217 H 297.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7C3ED5
RGBrgb(124, 62, 213)
HSLhsl(265, 64%, 54%)
HSVhsv(265, 71%, 84%)
CMYKcmyk(41.8%, 70.9%, 0%, 16.5%)
CIE-LABlab(42.05, 56.96, -67.61)
CIE-LCHlch(42.05, 88.41, 310.11°)
OKLaboklab(52.58% 0.0986 -0.1933)
OKLCHoklch(52.58% 0.217 297)
XYZxyz(22.0419, 12.5340, 64.1959)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3ED5 #97D53E
analogous
#3E4CD5 #7C3ED5 #C83ED5
triadic
#7C3ED5 #D57C3E #3ED57C
tetradic
#7C3ED5 #D53E4C #97D53E #3ED5C8
square
#7C3ED5 #D53E4C #97D53E #3ED5C8
split-complementary
#7C3ED5 #D5C83E #4CD53E
monochromatic
#441B7D #5F26B0 #7C3ED5 #9E70E0 #C0A3EB

Accessibility & contrast

On white

5.99
#7C3ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7C3ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3ED5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3ED5#FFFFFF#000000##FFFFFF
##7C3ED51.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#656486
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c3ed5;
/* rgb */ color: rgb(124, 62, 213);
/* oklch */ color: oklch(52.6% 0.217 297.0);
Tailwind
colors: {
  custom: {
    50: '#a978e3',
    500: '#7c3ed5',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ed5;
$custom-light: #a978e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ed5",
  "rgb": {
    "r": 124,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 264.636,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52578,
    "c": 0.21698,
    "h": 297
  },
  "luminance": 0.12534
}

Semantic roles & 50–950 ramp

primary
#7C3ED5
secondary
#BDD897
accent
#E741A3
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7C3ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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