#7C4BDA#7C4BDA

#7C4BDA is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.207 H 294.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7C4BDA
RGBrgb(124, 75, 218)
HSLhsl(261, 66%, 57%)
HSVhsv(261, 66%, 85%)
CMYKcmyk(43.1%, 65.6%, 0%, 14.5%)
CIE-LABlab(44.77, 51.78, -66.05)
CIE-LCHlch(44.77, 83.93, 308.10°)
OKLaboklab(54.64% 0.085 -0.1888)
OKLCHoklch(54.64% 0.207 294.2)
XYZxyz(23.4797, 14.3786, 67.8543)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4BDA #A9DA4B
analogous
#4B62DA #7C4BDA #C34BDA
triadic
#7C4BDA #DA7C4B #4BDA7C
tetradic
#7C4BDA #DA4B62 #A9DA4B #4BDAC3
square
#7C4BDA #DA4B62 #A9DA4B #4BDAC3
split-complementary
#7C4BDA #DAC34B #62DA4B
monochromatic
#441D8E #5C28C0 #7C4BDA #A17EE4 #C6B1EF

Accessibility & contrast

On white

5.42
#7C4BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7C4BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4BDA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4BDA#FFFFFF#000000##FFFFFF
##7C4BDA1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#626D8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c4bda;
/* rgb */ color: rgb(124, 75, 218);
/* oklch */ color: oklch(54.6% 0.207 294.2);
Tailwind
colors: {
  custom: {
    50: '#a980e6',
    500: '#7c4bda',
    950: '#000000',
  },
}
SCSS
$custom: #7c4bda;
$custom-light: #a980e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4bda",
  "rgb": {
    "r": 124,
    "g": 75,
    "b": 218
  },
  "hsl": {
    "h": 260.559,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5464,
    "c": 0.20703,
    "h": 294.2
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#7C4BDA
secondary
#C9DDA4
accent
#E93FAF
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C4BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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