#7A418D#7A418D

#7A418D is a mid, vivid purple. Relative luminance 0.098; OKLCH L 47.7% C 0.132 H 317.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7A418D
RGBrgb(122, 65, 141)
HSLhsl(285, 37%, 40%)
HSVhsv(285, 54%, 55%)
CMYKcmyk(13.5%, 53.9%, 0%, 44.7%)
CIE-LABlab(37.56, 37.68, -32.24)
CIE-LCHlch(37.56, 49.59, 319.45°)
OKLaboklab(47.75% 0.0965 -0.0897)
OKLCHoklch(47.75% 0.132 317.1)
XYZxyz(14.7234, 9.8418, 26.3182)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A418D #548D41
analogous
#54418D #7A418D #8D417A
triadic
#7A418D #8D7A41 #418D7A
tetradic
#7A418D #8D5441 #548D41 #417A8D
square
#7A418D #8D5441 #548D41 #417A8D
split-complementary
#7A418D #7A8D41 #418D54
monochromatic
#321A39 #562E63 #7A418D #9C59B2 #B583C6

Accessibility & contrast

On white

7.07
#7A418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7A418D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A418D
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A418D#FFFFFF#000000##FFFFFF
##7A418D1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315590
Deuteranopia (green-blind)
#435A8B
Tritanopia (blue-blind)
#794D61
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a418d;
/* rgb */ color: rgb(122, 65, 141);
/* oklch */ color: oklch(47.7% 0.132 317.1);
Tailwind
colors: {
  custom: {
    50: '#a278af',
    500: '#7a418d',
    950: '#000000',
  },
}
SCSS
$custom: #7a418d;
$custom-light: #a278af;
$custom-dark: #000000;
JSON
{
  "hex": "#7a418d",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 285,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47746,
    "c": 0.13174,
    "h": 317.1
  },
  "luminance": 0.09841
}

Semantic roles & 50–950 ramp

primary
#7A418D
secondary
#87B079
accent
#CD5B77
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7A418D

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

Preview Lab → · Contrast checker → · Palette generator →

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