#7C4FDA#7C4FDA

#7C4FDA is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.202 H 293.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7C4FDA
RGBrgb(124, 79, 218)
HSLhsl(259, 65%, 58%)
HSVhsv(259, 64%, 85%)
CMYKcmyk(43.1%, 63.8%, 0%, 14.5%)
CIE-LABlab(45.55, 49.67, -64.79)
CIE-LCHlch(45.55, 81.64, 307.48°)
OKLaboklab(55.2% 0.0808 -0.1851)
OKLCHoklch(55.2% 0.202 293.6)
XYZxyz(23.7596, 14.9383, 67.9476)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FDA #ADDA4F
analogous
#4F68DA #7C4FDA #C14FDA
triadic
#7C4FDA #DA7C4F #4FDA7C
tetradic
#7C4FDA #DA4F68 #ADDA4F #4FDAC1
square
#7C4FDA #DA4F68 #ADDA4F #4FDAC1
split-complementary
#7C4FDA #DAC14F #68DA4F
monochromatic
#431E90 #5B29C3 #7C4FDA #A282E5 #C7B4EF

Accessibility & contrast

On white

5.27
#7C4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7C4FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4FDA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FDA#FFFFFF#000000##FFFFFF
##7C4FDA1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#626F8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c4fda;
/* rgb */ color: rgb(124, 79, 218);
/* oklch */ color: oklch(55.2% 0.202 293.6);
Tailwind
colors: {
  custom: {
    50: '#a983e6',
    500: '#7c4fda',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fda;
$custom-light: #a983e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fda",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 259.424,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55201,
    "c": 0.20195,
    "h": 293.6
  },
  "luminance": 0.14939
}

Semantic roles & 50–950 ramp

primary
#7C4FDA
secondary
#CCDEA7
accent
#E840B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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