#7A3C8D#7A3C8D

#7A3C8D is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.0% C 0.140 H 317.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7A3C8D
RGBrgb(122, 60, 141)
HSLhsl(286, 40%, 39%)
HSVhsv(286, 57%, 55%)
CMYKcmyk(13.5%, 57.4%, 0%, 44.7%)
CIE-LABlab(36.54, 40.38, -33.85)
CIE-LCHlch(36.54, 52.69, 320.02°)
OKLaboklab(47% 0.1036 -0.0943)
OKLCHoklch(47% 0.14 317.7)
XYZxyz(14.4489, 9.2929, 26.2267)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3C8D #4F8D3C
analogous
#523C8D #7A3C8D #8D3C78
triadic
#7A3C8D #8D7A3C #3C8D7A
tetradic
#7A3C8D #8D523C #4F8D3C #3C788D
square
#7A3C8D #8D523C #4F8D3C #3C788D
split-complementary
#7A3C8D #788D3C #3C8D52
monochromatic
#301737 #552A62 #7A3C8D #9E51B5 #B67CC7

Accessibility & contrast

On white

7.35
#7A3C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7A3C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3C8D
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3C8D#FFFFFF#000000##FFFFFF
##7A3C8D1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295290
Deuteranopia (green-blind)
#3F588B
Tritanopia (blue-blind)
#7A495E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a3c8d;
/* rgb */ color: rgb(122, 60, 141);
/* oklch */ color: oklch(47.0% 0.140 317.7);
Tailwind
colors: {
  custom: {
    50: '#a375af',
    500: '#7a3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #7a3c8d;
$custom-light: #a375af;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3c8d",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 285.926,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47001,
    "c": 0.14013,
    "h": 317.7
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#7A3C8D
secondary
#82B174
accent
#D05874
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7A3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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