#7A3099#7A3099

#7A3099 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.2% C 0.171 H 314.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7A3099
RGBrgb(122, 48, 153)
HSLhsl(282, 52%, 39%)
HSVhsv(282, 69%, 60%)
CMYKcmyk(20.3%, 68.6%, 0%, 40%)
CIE-LABlab(35.11, 48.90, -43.46)
CIE-LCHlch(35.11, 65.42, 318.37°)
OKLaboklab(46.2% 0.119 -0.1223)
OKLCHoklch(46.2% 0.171 314.2)
XYZxyz(14.8318, 8.5519, 31.0002)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3099 #4F9930
analogous
#463099 #7A3099 #993084
triadic
#7A3099 #997A30 #30997A
tetradic
#7A3099 #994630 #4F9930 #308499
square
#7A3099 #994630 #4F9930 #308499
split-complementary
#7A3099 #849930 #309946
monochromatic
#30133C #55216A #7A3099 #9E42C4 #B671D2

Accessibility & contrast

On white

7.75
#7A3099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7A3099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3099
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3099#FFFFFF#000000##FFFFFF
##7A30991.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#2B5497
Tritanopia (blue-blind)
#774560
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a3099;
/* rgb */ color: rgb(122, 48, 153);
/* oklch */ color: oklch(46.2% 0.171 314.2);
Tailwind
colors: {
  custom: {
    50: '#a46eb8',
    500: '#7a3099',
    950: '#000000',
  },
}
SCSS
$custom: #7a3099;
$custom-light: #a46eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3099",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 282.286,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46195,
    "c": 0.17063,
    "h": 314.2
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#7A3099
secondary
#82BA6B
accent
#DC4C77
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7A3099

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

Preview Lab → · Contrast checker → · Palette generator →

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