#7C4BD2#7C4BD2

#7C4BD2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.198 H 295.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7C4BD2
RGBrgb(124, 75, 210)
HSLhsl(262, 60%, 56%)
HSVhsv(262, 64%, 82%)
CMYKcmyk(41%, 64.3%, 0%, 17.6%)
CIE-LABlab(44.19, 49.67, -62.42)
CIE-LCHlch(44.19, 79.77, 308.51°)
OKLaboklab(54.04% 0.0859 -0.1781)
OKLCHoklch(54.04% 0.198 295.7)
XYZxyz(22.4581, 13.9699, 62.4735)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4BD2 #A1D24B
analogous
#4B5DD2 #7C4BD2 #BF4BD2
triadic
#7C4BD2 #D27C4B #4BD27C
tetradic
#7C4BD2 #D24B5D #A1D24B #4BD2BF
square
#7C4BD2 #D24B5D #A1D24B #4BD2BF
split-complementary
#7C4BD2 #D2BF4B #5DD24B
monochromatic
#442182 #5D2DB3 #7C4BD2 #A07CDE #C3ADEA

Accessibility & contrast

On white

5.54
#7C4BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7C4BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4BD2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4BD2#FFFFFF#000000##FFFFFF
##7C4BD21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#666A88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c4bd2;
/* rgb */ color: rgb(124, 75, 210);
/* oklch */ color: oklch(54.0% 0.198 295.7);
Tailwind
colors: {
  custom: {
    50: '#a880e1',
    500: '#7c4bd2',
    950: '#000000',
  },
}
SCSS
$custom: #7c4bd2;
$custom-light: #a880e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4bd2",
  "rgb": {
    "r": 124,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 261.778,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.19771,
    "h": 295.7
  },
  "luminance": 0.1397
}

Semantic roles & 50–950 ramp

primary
#7C4BD2
secondary
#C4D8A0
accent
#E345AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C4BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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