#7C4EDE#7C4EDE

#7C4EDE is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.208 H 293.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7C4EDE
RGBrgb(124, 78, 222)
HSLhsl(259, 69%, 59%)
HSVhsv(259, 65%, 87%)
CMYKcmyk(44.1%, 64.9%, 0%, 12.9%)
CIE-LABlab(45.64, 51.28, -66.92)
CIE-LCHlch(45.64, 84.30, 307.46°)
OKLaboklab(55.36% 0.0815 -0.1913)
OKLCHoklch(55.36% 0.208 293.1)
XYZxyz(24.2178, 15.0071, 70.7137)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4EDE #B0DE4E
analogous
#4E68DE #7C4EDE #C44EDE
triadic
#7C4EDE #DE7C4E #4EDE7C
tetradic
#7C4EDE #DE4E68 #B0DE4E #4EDEC4
square
#7C4EDE #DE4E68 #B0DE4E #4EDEC4
split-complementary
#7C4EDE #DEC44E #68DE4E
monochromatic
#431C96 #5A26C9 #7C4EDE #A282E8 #C8B5F1

Accessibility & contrast

On white

5.25
#7C4EDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7C4EDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4EDE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4EDE#FFFFFF#000000##FFFFFF
##7C4EDE1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c4ede;
/* rgb */ color: rgb(124, 78, 222);
/* oklch */ color: oklch(55.4% 0.208 293.1);
Tailwind
colors: {
  custom: {
    50: '#a982e9',
    500: '#7c4ede',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ede;
$custom-light: #a982e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ede",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 222
  },
  "hsl": {
    "h": 259.167,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55361,
    "c": 0.20794,
    "h": 293.1
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#7C4EDE
secondary
#CEE0A8
accent
#EB3CB4
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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