#7C418F#7C418F

#7C418F is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.1% C 0.135 H 317.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7C418F
RGBrgb(124, 65, 143)
HSLhsl(285, 38%, 41%)
HSVhsv(285, 55%, 56%)
CMYKcmyk(13.3%, 54.5%, 0%, 43.9%)
CIE-LABlab(37.93, 38.70, -32.86)
CIE-LCHlch(37.93, 50.76, 319.67°)
OKLaboklab(48.11% 0.0993 -0.0914)
OKLCHoklch(48.11% 0.135 317.4)
XYZxyz(15.1597, 10.0494, 27.1224)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C418F #548F41
analogous
#55418F #7C418F #8F417B
triadic
#7C418F #8F7C41 #418F7C
tetradic
#7C418F #8F5541 #548F41 #417B8F
square
#7C418F #8F5541 #548F41 #417B8F
split-complementary
#7C418F #7B8F41 #418F55
monochromatic
#331B3B #582E65 #7C418F #9E59B4 #B684C7

Accessibility & contrast

On white

6.98
#7C418F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7C418F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C418F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C418F#FFFFFF#000000##FFFFFF
##7C418F1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305592
Deuteranopia (green-blind)
#435B8D
Tritanopia (blue-blind)
#7C4D62
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c418f;
/* rgb */ color: rgb(124, 65, 143);
/* oklch */ color: oklch(48.1% 0.135 317.4);
Tailwind
colors: {
  custom: {
    50: '#a478b0',
    500: '#7c418f',
    950: '#000000',
  },
}
SCSS
$custom: #7c418f;
$custom-light: #a478b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c418f",
  "rgb": {
    "r": 124,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 285.385,
    "s": 37.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48114,
    "c": 0.13496,
    "h": 317.4
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#7C418F
secondary
#88B17A
accent
#CD5A76
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7C418F

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

Preview Lab → · Contrast checker → · Palette generator →

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