#7C4BD1#7C4BD1

#7C4BD1 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.197 H 295.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7C4BD1
RGBrgb(124, 75, 209)
HSLhsl(262, 59%, 56%)
HSVhsv(262, 64%, 82%)
CMYKcmyk(40.7%, 64.1%, 0%, 18%)
CIE-LABlab(44.12, 49.41, -61.96)
CIE-LCHlch(44.12, 79.25, 308.57°)
OKLaboklab(53.96% 0.086 -0.1767)
OKLCHoklch(53.96% 0.197 295.9)
XYZxyz(22.3339, 13.9202, 61.8194)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4BD1 #A0D14B
analogous
#4B5DD1 #7C4BD1 #BF4BD1
triadic
#7C4BD1 #D17C4B #4BD17C
tetradic
#7C4BD1 #D14B5D #A0D14B #4BD1BF
square
#7C4BD1 #D14B5D #A0D14B #4BD1BF
split-complementary
#7C4BD1 #D1BF4B #5DD14B
monochromatic
#442181 #5E2DB1 #7C4BD1 #9F7CDD #C3ACEA

Accessibility & contrast

On white

5.55
#7C4BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7C4BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4BD1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4BD1#FFFFFF#000000##FFFFFF
##7C4BD11.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#666A87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c4bd1;
/* rgb */ color: rgb(124, 75, 209);
/* oklch */ color: oklch(54.0% 0.197 295.9);
Tailwind
colors: {
  custom: {
    50: '#a880e0',
    500: '#7c4bd1',
    950: '#000000',
  },
}
SCSS
$custom: #7c4bd1;
$custom-light: #a880e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4bd1",
  "rgb": {
    "r": 124,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 261.94,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.19654,
    "h": 295.9
  },
  "luminance": 0.13921
}

Semantic roles & 50–950 ramp

primary
#7C4BD1
secondary
#C3D8A0
accent
#E245A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C4BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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