#7C4BD3#7C4BD3

#7C4BD3 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.199 H 295.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7C4BD3
RGBrgb(124, 75, 211)
HSLhsl(262, 61%, 56%)
HSVhsv(262, 64%, 83%)
CMYKcmyk(41.2%, 64.5%, 0%, 17.3%)
CIE-LABlab(44.26, 49.94, -62.87)
CIE-LCHlch(44.26, 80.29, 308.46°)
OKLaboklab(54.11% 0.0858 -0.1794)
OKLCHoklch(54.11% 0.199 295.6)
XYZxyz(22.5830, 14.0199, 63.1317)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4BD3 #A2D34B
analogous
#4B5ED3 #7C4BD3 #C04BD3
triadic
#7C4BD3 #D37C4B #4BD37C
tetradic
#7C4BD3 #D34B5E #A2D34B #4BD3C0
square
#7C4BD3 #D34B5E #A2D34B #4BD3C0
split-complementary
#7C4BD3 #D3C04B #5ED34B
monochromatic
#442083 #5D2CB5 #7C4BD3 #A07CDF #C4ADEB

Accessibility & contrast

On white

5.52
#7C4BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7C4BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4BD3
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4BD3#FFFFFF#000000##FFFFFF
##7C4BD31.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#656B88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c4bd3;
/* rgb */ color: rgb(124, 75, 211);
/* oklch */ color: oklch(54.1% 0.199 295.6);
Tailwind
colors: {
  custom: {
    50: '#a880e1',
    500: '#7c4bd3',
    950: '#000000',
  },
}
SCSS
$custom: #7c4bd3;
$custom-light: #a880e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4bd3",
  "rgb": {
    "r": 124,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 261.618,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54112,
    "c": 0.19888,
    "h": 295.6
  },
  "luminance": 0.1402
}

Semantic roles & 50–950 ramp

primary
#7C4BD3
secondary
#C5D9A1
accent
#E444AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C4BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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