#7A3D97#7A3D97

#7A3D97 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.8% C 0.149 H 313.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7A3D97
RGBrgb(122, 61, 151)
HSLhsl(281, 42%, 42%)
HSVhsv(281, 60%, 59%)
CMYKcmyk(19.2%, 59.6%, 0%, 40.8%)
CIE-LABlab(37.32, 42.06, -38.71)
CIE-LCHlch(37.32, 57.16, 317.37°)
OKLaboklab(47.75% 0.1028 -0.1085)
OKLCHoklch(47.75% 0.149 313.4)
XYZxyz(15.2797, 9.7098, 30.3414)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3D97 #5A973D
analogous
#4D3D97 #7A3D97 #973D87
triadic
#7A3D97 #977A3D #3D977A
tetradic
#7A3D97 #974D3D #5A973D #3D8797
square
#7A3D97 #974D3D #5A973D #3D8797
split-complementary
#7A3D97 #87973D #3D974D
monochromatic
#341A40 #572B6B #7A3D97 #9A56BB #B482CC

Accessibility & contrast

On white

7.14
#7A3D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7A3D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3D97
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3D97#FFFFFF#000000##FFFFFF
##7A3D971.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21549A
Deuteranopia (green-blind)
#395995
Tritanopia (blue-blind)
#774D64
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a3d97;
/* rgb */ color: rgb(122, 61, 151);
/* oklch */ color: oklch(47.8% 0.149 313.4);
Tailwind
colors: {
  custom: {
    50: '#a376b6',
    500: '#7a3d97',
    950: '#000000',
  },
}
SCSS
$custom: #7a3d97;
$custom-light: #a376b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3d97",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 280.667,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47754,
    "c": 0.14944,
    "h": 313.4
  },
  "luminance": 0.09709
}

Semantic roles & 50–950 ramp

primary
#7A3D97
secondary
#8DB779
accent
#D2567E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7A3D97

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

Preview Lab → · Contrast checker → · Palette generator →

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