#7C418D#7C418D

#7C418D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.0% C 0.133 H 318.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7C418D
RGBrgb(124, 65, 141)
HSLhsl(287, 37%, 40%)
HSVhsv(287, 54%, 55%)
CMYKcmyk(12.1%, 53.9%, 0%, 44.7%)
CIE-LABlab(37.82, 38.26, -31.81)
CIE-LCHlch(37.82, 49.76, 320.26°)
OKLaboklab(48% 0.0991 -0.0884)
OKLCHoklch(48% 0.133 318.3)
XYZxyz(15.0095, 9.9893, 26.3316)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C418D #528D41
analogous
#56418D #7C418D #8D4178
triadic
#7C418D #8D7C41 #418D7C
tetradic
#7C418D #8D5641 #528D41 #41788D
square
#7C418D #8D5641 #528D41 #41788D
split-complementary
#7C418D #788D41 #418D56
monochromatic
#321A39 #572E63 #7C418D #9E59B2 #B783C6

Accessibility & contrast

On white

7.01
#7C418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7C418D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C418D
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C418D#FFFFFF#000000##FFFFFF
##7C418D1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325590
Deuteranopia (green-blind)
#455B8B
Tritanopia (blue-blind)
#7C4C61
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c418d;
/* rgb */ color: rgb(124, 65, 141);
/* oklch */ color: oklch(48.0% 0.133 318.3);
Tailwind
colors: {
  custom: {
    50: '#a478ae',
    500: '#7c418d',
    950: '#000000',
  },
}
SCSS
$custom: #7c418d;
$custom-light: #a478ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7c418d",
  "rgb": {
    "r": 124,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 286.579,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48,
    "c": 0.13276,
    "h": 318.3
  },
  "luminance": 0.09989
}

Semantic roles & 50–950 ramp

primary
#7C418D
secondary
#86B079
accent
#CD5B74
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7C418D

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

Preview Lab → · Contrast checker → · Palette generator →

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