#7C419C#7C419C

#7C419C is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.9% C 0.149 H 312.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7C419C
RGBrgb(124, 65, 156)
HSLhsl(279, 41%, 43%)
HSVhsv(279, 58%, 61%)
CMYKcmyk(20.5%, 58.3%, 0%, 38.8%)
CIE-LABlab(38.67, 41.60, -39.56)
CIE-LCHlch(38.67, 57.41, 316.44°)
OKLaboklab(48.89% 0.1002 -0.111)
OKLCHoklch(48.89% 0.149 312.1)
XYZxyz(16.2022, 10.4664, 32.6127)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C419C #619C41
analogous
#4E419C #7C419C #9C418E
triadic
#7C419C #9C7C41 #419C7C
tetradic
#7C419C #9C4E41 #619C41 #418E9C
square
#7C419C #9C4E41 #619C41 #418E9C
split-complementary
#7C419C #8E9C41 #419C4E
monochromatic
#371D46 #5A2F71 #7C419C #9B5EBC #B689CE

Accessibility & contrast

On white

6.79
#7C419C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7C419C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C419C
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C419C#FFFFFF#000000##FFFFFF
##7C419C1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25589F
Deuteranopia (green-blind)
#3B5C9A
Tritanopia (blue-blind)
#795168
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c419c;
/* rgb */ color: rgb(124, 65, 156);
/* oklch */ color: oklch(48.9% 0.149 312.1);
Tailwind
colors: {
  custom: {
    50: '#a478ba',
    500: '#7c419c',
    950: '#000000',
  },
}
SCSS
$custom: #7c419c;
$custom-light: #a478ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7c419c",
  "rgb": {
    "r": 124,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 278.901,
    "s": 41.176,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48893,
    "c": 0.14947,
    "h": 312.1
  },
  "luminance": 0.10466
}

Semantic roles & 50–950 ramp

primary
#7C419C
secondary
#94B980
accent
#D15782
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7C419C

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

Preview Lab → · Contrast checker → · Palette generator →

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