#7C4BD8#7C4BD8

#7C4BD8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.205 H 294.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7C4BD8
RGBrgb(124, 75, 216)
HSLhsl(261, 64%, 57%)
HSVhsv(261, 65%, 85%)
CMYKcmyk(42.6%, 65.3%, 0%, 15.3%)
CIE-LABlab(44.62, 51.26, -65.15)
CIE-LCHlch(44.62, 82.90, 308.19°)
OKLaboklab(54.49% 0.0852 -0.1861)
OKLCHoklch(54.49% 0.205 294.6)
XYZxyz(23.2196, 14.2745, 66.4843)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4BD8 #A7D84B
analogous
#4B61D8 #7C4BD8 #C34BD8
triadic
#7C4BD8 #D87C4B #4BD87C
tetradic
#7C4BD8 #D84B61 #A7D84B #4BD8C3
square
#7C4BD8 #D84B61 #A7D84B #4BD8C3
split-complementary
#7C4BD8 #D8C34B #61D84B
monochromatic
#441E8B #5C29BD #7C4BD8 #A17DE3 #C5B0EE

Accessibility & contrast

On white

5.45
#7C4BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7C4BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4BD8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4BD8#FFFFFF#000000##FFFFFF
##7C4BD81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#636C8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c4bd8;
/* rgb */ color: rgb(124, 75, 216);
/* oklch */ color: oklch(54.5% 0.205 294.6);
Tailwind
colors: {
  custom: {
    50: '#a980e5',
    500: '#7c4bd8',
    950: '#000000',
  },
}
SCSS
$custom: #7c4bd8;
$custom-light: #a980e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4bd8",
  "rgb": {
    "r": 124,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 260.851,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54488,
    "c": 0.20471,
    "h": 294.6
  },
  "luminance": 0.14275
}

Semantic roles & 50–950 ramp

primary
#7C4BD8
secondary
#C8DCA3
accent
#E740AD
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7C4BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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