#7D418F#7D418F

#7D418F is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.2% C 0.135 H 317.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7D418F
RGBrgb(125, 65, 143)
HSLhsl(286, 38%, 41%)
HSVhsv(286, 55%, 56%)
CMYKcmyk(12.6%, 54.5%, 0%, 43.9%)
CIE-LABlab(38.06, 38.98, -32.64)
CIE-LCHlch(38.06, 50.84, 320.06°)
OKLaboklab(48.24% 0.1006 -0.0908)
OKLCHoklch(48.24% 0.135 317.9)
XYZxyz(15.3050, 10.1243, 27.1293)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D418F #538F41
analogous
#56418F #7D418F #8F417A
triadic
#7D418F #8F7D41 #418F7D
tetradic
#7D418F #8F5641 #538F41 #417A8F
square
#7D418F #8F5641 #538F41 #417A8F
split-complementary
#7D418F #7A8F41 #418F56
monochromatic
#331B3B #582E65 #7D418F #9F59B4 #B784C7

Accessibility & contrast

On white

6.94
#7D418F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7D418F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D418F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D418F#FFFFFF#000000##FFFFFF
##7D418F1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315692
Deuteranopia (green-blind)
#445C8D
Tritanopia (blue-blind)
#7D4D62
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d418f;
/* rgb */ color: rgb(125, 65, 143);
/* oklch */ color: oklch(48.2% 0.135 317.9);
Tailwind
colors: {
  custom: {
    50: '#a578b0',
    500: '#7d418f',
    950: '#000000',
  },
}
SCSS
$custom: #7d418f;
$custom-light: #a578b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d418f",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 286.154,
    "s": 37.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48241,
    "c": 0.13545,
    "h": 317.9
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#7D418F
secondary
#87B17A
accent
#CD5A75
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7D418F

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

Preview Lab → · Contrast checker → · Palette generator →

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