#7C4EDB#7C4EDB

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

Color values

HEX#7C4EDB
RGBrgb(124, 78, 219)
HSLhsl(260, 66%, 58%)
HSVhsv(260, 64%, 86%)
CMYKcmyk(43.4%, 64.4%, 0%, 14.1%)
CIE-LABlab(45.42, 50.47, -65.56)
CIE-LCHlch(45.42, 82.74, 307.59°)
OKLaboklab(55.13% 0.0818 -0.1873)
OKLCHoklch(55.13% 0.204 293.6)
XYZxyz(23.8193, 14.8477, 68.6150)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4EDB #ADDB4E
analogous
#4E67DB #7C4EDB #C24EDB
triadic
#7C4EDB #DB7C4E #4EDB7C
tetradic
#7C4EDB #DB4E67 #ADDB4E #4EDBC2
square
#7C4EDB #DB4E67 #ADDB4E #4EDBC2
split-complementary
#7C4EDB #DBC24E #67DB4E
monochromatic
#431E91 #5B28C4 #7C4EDB #A281E5 #C7B4F0

Accessibility & contrast

On white

5.29
#7C4EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7C4EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4EDB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4EDB#FFFFFF#000000##FFFFFF
##7C4EDB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#616F8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c4edb;
/* rgb */ color: rgb(124, 78, 219);
/* oklch */ color: oklch(55.1% 0.204 293.6);
Tailwind
colors: {
  custom: {
    50: '#a982e7',
    500: '#7c4edb',
    950: '#000000',
  },
}
SCSS
$custom: #7c4edb;
$custom-light: #a982e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4edb",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 259.574,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55134,
    "c": 0.20441,
    "h": 293.6
  },
  "luminance": 0.14848
}

Semantic roles & 50–950 ramp

primary
#7C4EDB
secondary
#CCDEA6
accent
#E93FB2
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C4EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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