#7C4EDD#7C4EDD

#7C4EDD is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.207 H 293.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7C4EDD
RGBrgb(124, 78, 221)
HSLhsl(259, 68%, 59%)
HSVhsv(259, 65%, 87%)
CMYKcmyk(43.9%, 64.7%, 0%, 13.3%)
CIE-LABlab(45.57, 51.01, -66.47)
CIE-LCHlch(45.57, 83.78, 307.50°)
OKLaboklab(55.29% 0.0816 -0.19)
OKLCHoklch(55.29% 0.207 293.2)
XYZxyz(24.0841, 14.9536, 70.0100)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4EDD #AFDD4E
analogous
#4E67DD #7C4EDD #C44EDD
triadic
#7C4EDD #DD7C4E #4EDD7C
tetradic
#7C4EDD #DD4E67 #AFDD4E #4EDDC4
square
#7C4EDD #DD4E67 #AFDD4E #4EDDC4
split-complementary
#7C4EDD #DDC44E #67DD4E
monochromatic
#431C94 #5A26C7 #7C4EDD #A281E7 #C8B5F1

Accessibility & contrast

On white

5.26
#7C4EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7C4EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4EDD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4EDD#FFFFFF#000000##FFFFFF
##7C4EDD1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#60708F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c4edd;
/* rgb */ color: rgb(124, 78, 221);
/* oklch */ color: oklch(55.3% 0.207 293.2);
Tailwind
colors: {
  custom: {
    50: '#a982e8',
    500: '#7c4edd',
    950: '#000000',
  },
}
SCSS
$custom: #7c4edd;
$custom-light: #a982e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4edd",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 221
  },
  "hsl": {
    "h": 259.301,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55285,
    "c": 0.20676,
    "h": 293.2
  },
  "luminance": 0.14954
}

Semantic roles & 50–950 ramp

primary
#7C4EDD
secondary
#CDE0A7
accent
#EB3DB3
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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