#7A407B#7A407B

#7A407B is a mid, moderate purple. Relative luminance 0.092; OKLCH L 46.6% C 0.114 H 326.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7A407B
RGBrgb(122, 64, 123)
HSLhsl(299, 32%, 37%)
HSVhsv(299, 48%, 48%)
CMYKcmyk(0.8%, 48%, 0%, 51.8%)
CIE-LABlab(36.43, 34.45, -22.93)
CIE-LCHlch(36.43, 41.38, 326.35°)
OKLaboklab(46.62% 0.0953 -0.0628)
OKLCHoklch(46.62% 0.114 326.6)
XYZxyz(13.4343, 9.2351, 19.8100)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A407B #417B40
analogous
#5D407B #7A407B #7B405F
triadic
#7A407B #7B7A40 #407B7A
tetradic
#7A407B #7B5D40 #417B40 #405F7B
square
#7A407B #7B5D40 #417B40 #405F7B
split-complementary
#7A407B #5F7B40 #407B5D
monochromatic
#2A162A #522B53 #7A407B #A255A3 #B97BBA

Accessibility & contrast

On white

7.38
#7A407B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7A407B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A407B
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A407B#FFFFFF#000000##FFFFFF
##7A407B1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#4B5879
Tritanopia (blue-blind)
#7D4658
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a407b;
/* rgb */ color: rgb(122, 64, 123);
/* oklch */ color: oklch(46.6% 0.114 326.6);
Tailwind
colors: {
  custom: {
    50: '#a277a1',
    500: '#7a407b',
    950: '#000000',
  },
}
SCSS
$custom: #7a407b;
$custom-light: #a277a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a407b",
  "rgb": {
    "r": 122,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 298.983,
    "s": 31.551,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46616,
    "c": 0.11414,
    "h": 326.6
  },
  "luminance": 0.09234
}

Semantic roles & 50–950 ramp

primary
#7A407B
secondary
#73A572
accent
#C86062
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F090F
muted
#7F7B7E

Preview Lab

Preview with #7A407B

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

Preview Lab → · Contrast checker → · Palette generator →

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