#7C4EDA#7C4EDA

#7C4EDA is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.1% C 0.203 H 293.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7C4EDA
RGBrgb(124, 78, 218)
HSLhsl(260, 65%, 58%)
HSVhsv(260, 64%, 85%)
CMYKcmyk(43.1%, 64.2%, 0%, 14.5%)
CIE-LABlab(45.35, 50.20, -65.11)
CIE-LCHlch(45.35, 82.22, 307.63°)
OKLaboklab(55.06% 0.0819 -0.186)
OKLCHoklch(55.06% 0.203 293.8)
XYZxyz(23.6880, 14.7952, 67.9238)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4EDA #ACDA4E
analogous
#4E66DA #7C4EDA #C24EDA
triadic
#7C4EDA #DA7C4E #4EDA7C
tetradic
#7C4EDA #DA4E66 #ACDA4E #4EDAC2
square
#7C4EDA #DA4E66 #ACDA4E #4EDAC2
split-complementary
#7C4EDA #DAC24E #66DA4E
monochromatic
#431E90 #5B29C2 #7C4EDA #A181E5 #C7B3EF

Accessibility & contrast

On white

5.30
#7C4EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7C4EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4EDA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4EDA#FFFFFF#000000##FFFFFF
##7C4EDA1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#626F8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c4eda;
/* rgb */ color: rgb(124, 78, 218);
/* oklch */ color: oklch(55.1% 0.203 293.8);
Tailwind
colors: {
  custom: {
    50: '#a982e6',
    500: '#7c4eda',
    950: '#000000',
  },
}
SCSS
$custom: #7c4eda;
$custom-light: #a982e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4eda",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 259.714,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55059,
    "c": 0.20324,
    "h": 293.8
  },
  "luminance": 0.14796
}

Semantic roles & 50–950 ramp

primary
#7C4EDA
secondary
#CBDEA6
accent
#E83FB1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C4EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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