#7A309E#7A309E

#7A309E is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.176 H 312.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7A309E
RGBrgb(122, 48, 158)
HSLhsl(280, 53%, 40%)
HSVhsv(280, 70%, 62%)
CMYKcmyk(22.8%, 69.6%, 0%, 38%)
CIE-LABlab(35.44, 49.99, -45.95)
CIE-LCHlch(35.44, 67.90, 317.41°)
OKLaboklab(46.54% 0.1185 -0.1296)
OKLCHoklch(46.54% 0.176 312.4)
XYZxyz(15.2534, 8.7205, 33.2208)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A309E #549E30
analogous
#43309E #7A309E #9E308B
triadic
#7A309E #9E7A30 #309E7A
tetradic
#7A309E #9E4330 #549E30 #308B9E
square
#7A309E #9E4330 #549E30 #308B9E
split-complementary
#7A309E #8B9E30 #309E43
monochromatic
#321340 #56226F #7A309E #9C45C6 #B574D5

Accessibility & contrast

On white

7.65
#7A309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7A309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A309E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A309E#FFFFFF#000000##FFFFFF
##7A309E1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#26559C
Tritanopia (blue-blind)
#764763
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a309e;
/* rgb */ color: rgb(122, 48, 158);
/* oklch */ color: oklch(46.5% 0.176 312.4);
Tailwind
colors: {
  custom: {
    50: '#a46ebb',
    500: '#7a309e',
    950: '#000000',
  },
}
SCSS
$custom: #7a309e;
$custom-light: #a46ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a309e",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 280.364,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4654,
    "c": 0.17567,
    "h": 312.4
  },
  "luminance": 0.0872
}

Semantic roles & 50–950 ramp

primary
#7A309E
secondary
#87BD6D
accent
#DD4B7B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7A309E

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

Preview Lab → · Contrast checker → · Palette generator →

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