#7C4CD9#7C4CD9

#7C4CD9 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.205 H 294.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7C4CD9
RGBrgb(124, 76, 217)
HSLhsl(260, 65%, 57%)
HSVhsv(260, 65%, 85%)
CMYKcmyk(42.9%, 65%, 0%, 14.9%)
CIE-LABlab(44.89, 51.00, -65.29)
CIE-LCHlch(44.89, 82.85, 307.99°)
OKLaboklab(54.7% 0.0841 -0.1865)
OKLCHoklch(54.7% 0.205 294.3)
XYZxyz(23.4176, 14.4631, 67.1900)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CD9 #A9D94C
analogous
#4C62D9 #7C4CD9 #C34CD9
triadic
#7C4CD9 #D97C4C #4CD97C
tetradic
#7C4CD9 #D94C62 #A9D94C #4CD9C3
square
#7C4CD9 #D94C62 #A9D94C #4CD9C3
split-complementary
#7C4CD9 #D9C34C #62D94C
monochromatic
#441E8D #5C29BF #7C4CD9 #A17EE4 #C6B1EE

Accessibility & contrast

On white

5.39
#7C4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7C4CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CD9
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CD9#FFFFFF#000000##FFFFFF
##7C4CD91.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#636D8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c4cd9;
/* rgb */ color: rgb(124, 76, 217);
/* oklch */ color: oklch(54.7% 0.205 294.3);
Tailwind
colors: {
  custom: {
    50: '#a981e6',
    500: '#7c4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #7c4cd9;
$custom-light: #a981e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4cd9",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 260.426,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.2046,
    "h": 294.3
  },
  "luminance": 0.14464
}

Semantic roles & 50–950 ramp

primary
#7C4CD9
secondary
#C9DDA4
accent
#E840AF
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7C4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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