#7C4CD1#7C4CD1

#7C4CD1 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.195 H 295.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7C4CD1
RGBrgb(124, 76, 209)
HSLhsl(262, 59%, 56%)
HSVhsv(262, 64%, 82%)
CMYKcmyk(40.7%, 63.6%, 0%, 18%)
CIE-LABlab(44.31, 48.88, -61.64)
CIE-LCHlch(44.31, 78.67, 308.41°)
OKLaboklab(54.11% 0.0849 -0.1758)
OKLCHoklch(54.11% 0.195 295.8)
XYZxyz(22.4022, 14.0569, 61.8422)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CD1 #A1D14C
analogous
#4C5ED1 #7C4CD1 #BE4CD1
triadic
#7C4CD1 #D17C4C #4CD17C
tetradic
#7C4CD1 #D14C5E #A1D14C #4CD1BE
square
#7C4CD1 #D14C5E #A1D14C #4CD1BE
split-complementary
#7C4CD1 #D1BE4C #5ED14C
monochromatic
#442181 #5D2EB2 #7C4CD1 #A07DDE #C3ADEA

Accessibility & contrast

On white

5.51
#7C4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7C4CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CD1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CD1#FFFFFF#000000##FFFFFF
##7C4CD11.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#666B88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c4cd1;
/* rgb */ color: rgb(124, 76, 209);
/* oklch */ color: oklch(54.1% 0.195 295.8);
Tailwind
colors: {
  custom: {
    50: '#a881e0',
    500: '#7c4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #7c4cd1;
$custom-light: #a881e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4cd1",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 261.654,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54105,
    "c": 0.19523,
    "h": 295.8
  },
  "luminance": 0.14057
}

Semantic roles & 50–950 ramp

primary
#7C4CD1
secondary
#C4D8A1
accent
#E246AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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