#7A309A#7A309A

#7A309A is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.172 H 313.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7A309A
RGBrgb(122, 48, 154)
HSLhsl(282, 52%, 40%)
HSVhsv(282, 69%, 60%)
CMYKcmyk(20.8%, 68.8%, 0%, 39.6%)
CIE-LABlab(35.17, 49.12, -43.96)
CIE-LCHlch(35.17, 65.92, 318.17°)
OKLaboklab(46.26% 0.1189 -0.1238)
OKLCHoklch(46.26% 0.172 313.8)
XYZxyz(14.9147, 8.5850, 31.4370)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A309A #509A30
analogous
#45309A #7A309A #9A3085
triadic
#7A309A #9A7A30 #309A7A
tetradic
#7A309A #9A4530 #509A30 #30859A
square
#7A309A #9A4530 #509A30 #30859A
split-complementary
#7A309A #859A30 #309A45
monochromatic
#30133D #55216B #7A309A #9D43C4 #B572D3

Accessibility & contrast

On white

7.73
#7A309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7A309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A309A
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A309A#FFFFFF#000000##FFFFFF
##7A309A1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#2A5498
Tritanopia (blue-blind)
#774561
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a309a;
/* rgb */ color: rgb(122, 48, 154);
/* oklch */ color: oklch(46.3% 0.172 313.8);
Tailwind
colors: {
  custom: {
    50: '#a46eb8',
    500: '#7a309a',
    950: '#000000',
  },
}
SCSS
$custom: #7a309a;
$custom-light: #a46eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a309a",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 281.887,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46263,
    "c": 0.17164,
    "h": 313.8
  },
  "luminance": 0.08585
}

Semantic roles & 50–950 ramp

primary
#7A309A
secondary
#83BB6B
accent
#DC4C77
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7A309A

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

Preview Lab → · Contrast checker → · Palette generator →

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