#7A3097#7A3097

#7A3097 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.169 H 314.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7A3097
RGBrgb(122, 48, 151)
HSLhsl(283, 52%, 39%)
HSVhsv(283, 68%, 59%)
CMYKcmyk(19.2%, 68.2%, 0%, 40.8%)
CIE-LABlab(34.98, 48.47, -42.45)
CIE-LCHlch(34.98, 64.43, 318.79°)
OKLaboklab(46.06% 0.1191 -0.1194)
OKLCHoklch(46.06% 0.169 314.9)
XYZxyz(14.6680, 8.4863, 30.1375)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3097 #4D9730
analogous
#473097 #7A3097 #973081
triadic
#7A3097 #977A30 #30977A
tetradic
#7A3097 #974730 #4D9730 #308197
square
#7A3097 #974730 #4D9730 #308197
split-complementary
#7A3097 #819730 #309747
monochromatic
#2F123A #542169 #7A3097 #9E41C3 #B670D2

Accessibility & contrast

On white

7.79
#7A3097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7A3097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3097
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3097#FFFFFF#000000##FFFFFF
##7A30971.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#2D5495
Tritanopia (blue-blind)
#78445F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a3097;
/* rgb */ color: rgb(122, 48, 151);
/* oklch */ color: oklch(46.1% 0.169 314.9);
Tailwind
colors: {
  custom: {
    50: '#a46eb6',
    500: '#7a3097',
    950: '#000000',
  },
}
SCSS
$custom: #7a3097;
$custom-light: #a46eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3097",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 283.107,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46059,
    "c": 0.16862,
    "h": 314.9
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#7A3097
secondary
#80B96A
accent
#DB4D75
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7A3097

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

Preview Lab → · Contrast checker → · Palette generator →

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