#7C4BD7#7C4BD7

#7C4BD7 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.204 H 294.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7C4BD7
RGBrgb(124, 75, 215)
HSLhsl(261, 64%, 57%)
HSVhsv(261, 65%, 84%)
CMYKcmyk(42.3%, 65.1%, 0%, 15.7%)
CIE-LABlab(44.55, 50.99, -64.70)
CIE-LCHlch(44.55, 82.38, 308.24°)
OKLaboklab(54.41% 0.0854 -0.1848)
OKLCHoklch(54.41% 0.204 294.8)
XYZxyz(23.0907, 14.2230, 65.8055)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4BD7 #A6D74B
analogous
#4B60D7 #7C4BD7 #C24BD7
triadic
#7C4BD7 #D77C4B #4BD77C
tetradic
#7C4BD7 #D74B60 #A6D74B #4BD7C2
square
#7C4BD7 #D74B60 #A6D74B #4BD7C2
split-complementary
#7C4BD7 #D7C24B #60D74B
monochromatic
#441E89 #5D2ABB #7C4BD7 #A07DE2 #C5AFED

Accessibility & contrast

On white

5.46
#7C4BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7C4BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4BD7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4BD7#FFFFFF#000000##FFFFFF
##7C4BD71.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#646C8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c4bd7;
/* rgb */ color: rgb(124, 75, 215);
/* oklch */ color: oklch(54.4% 0.204 294.8);
Tailwind
colors: {
  custom: {
    50: '#a880e4',
    500: '#7c4bd7',
    950: '#000000',
  },
}
SCSS
$custom: #7c4bd7;
$custom-light: #a880e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4bd7",
  "rgb": {
    "r": 124,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 261,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54412,
    "c": 0.20355,
    "h": 294.8
  },
  "luminance": 0.14224
}

Semantic roles & 50–950 ramp

primary
#7C4BD7
secondary
#C7DBA2
accent
#E741AD
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7C4BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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