#7E419C#7E419C

#7E419C is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.1% C 0.150 H 313.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7E419C
RGBrgb(126, 65, 156)
HSLhsl(280, 41%, 43%)
HSVhsv(280, 58%, 61%)
CMYKcmyk(19.2%, 58.3%, 0%, 38.8%)
CIE-LABlab(38.93, 42.13, -39.13)
CIE-LCHlch(38.93, 57.50, 317.12°)
OKLaboklab(49.14% 0.1028 -0.1096)
OKLCHoklch(49.14% 0.15 313.1)
XYZxyz(16.4942, 10.6170, 32.6264)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E419C #5F9C41
analogous
#51419C #7E419C #9C418C
triadic
#7E419C #9C7E41 #419C7E
tetradic
#7E419C #9C5141 #5F9C41 #418C9C
square
#7E419C #9C5141 #5F9C41 #418C9C
split-complementary
#7E419C #8C9C41 #419C51
monochromatic
#381D46 #5B2F71 #7E419C #9D5EBC #B789CE

Accessibility & contrast

On white

6.72
#7E419C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7E419C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E419C
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E419C#FFFFFF#000000##FFFFFF
##7E419C1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589F
Deuteranopia (green-blind)
#3D5D9A
Tritanopia (blue-blind)
#7B5168
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e419c;
/* rgb */ color: rgb(126, 65, 156);
/* oklch */ color: oklch(49.1% 0.150 313.1);
Tailwind
colors: {
  custom: {
    50: '#a679ba',
    500: '#7e419c',
    950: '#000000',
  },
}
SCSS
$custom: #7e419c;
$custom-light: #a679ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e419c",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 280.22,
    "s": 41.176,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4914,
    "c": 0.15028,
    "h": 313.1
  },
  "luminance": 0.10617
}

Semantic roles & 50–950 ramp

primary
#7E419C
secondary
#93B980
accent
#D1577F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7E419C

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

Preview Lab → · Contrast checker → · Palette generator →

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