#7A3F7B#7A3F7B

#7A3F7B is a mid, moderate purple. Relative luminance 0.091; OKLCH L 46.5% C 0.116 H 326.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7A3F7B
RGBrgb(122, 63, 123)
HSLhsl(299, 32%, 36%)
HSVhsv(299, 49%, 48%)
CMYKcmyk(0.8%, 48.8%, 0%, 51.8%)
CIE-LABlab(36.22, 35.00, -23.26)
CIE-LCHlch(36.22, 42.02, 326.40°)
OKLaboklab(46.46% 0.0968 -0.0638)
OKLCHoklch(46.46% 0.116 326.6)
XYZxyz(13.3784, 9.1233, 19.7913)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3F7B #407B3F
analogous
#5C3F7B #7A3F7B #7B3F5E
triadic
#7A3F7B #7B7A3F #3F7B7A
tetradic
#7A3F7B #7B5C3F #407B3F #3F5E7B
square
#7A3F7B #7B5C3F #407B3F #3F5E7B
split-complementary
#7A3F7B #5E7B3F #3F7B5C
monochromatic
#2A162A #522A53 #7A3F7B #A254A3 #BA7ABB

Accessibility & contrast

On white

7.43
#7A3F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7A3F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3F7B
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3F7B#FFFFFF#000000##FFFFFF
##7A3F7B1.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#4A5879
Tritanopia (blue-blind)
#7D4557
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a3f7b;
/* rgb */ color: rgb(122, 63, 123);
/* oklch */ color: oklch(46.5% 0.116 326.6);
Tailwind
colors: {
  custom: {
    50: '#a276a1',
    500: '#7a3f7b',
    950: '#000000',
  },
}
SCSS
$custom: #7a3f7b;
$custom-light: #a276a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3f7b",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 123
  },
  "hsl": {
    "h": 299,
    "s": 32.258,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46459,
    "c": 0.11594,
    "h": 326.6
  },
  "luminance": 0.09123
}

Semantic roles & 50–950 ramp

primary
#7A3F7B
secondary
#72A571
accent
#C85F61
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F090F
muted
#7F7B7E

Preview Lab

Preview with #7A3F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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