#7A309F#7A309F

#7A309F is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.177 H 312.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7A309F
RGBrgb(122, 48, 159)
HSLhsl(280, 54%, 41%)
HSVhsv(280, 70%, 62%)
CMYKcmyk(23.3%, 69.8%, 0%, 37.6%)
CIE-LABlab(35.51, 50.21, -46.45)
CIE-LCHlch(35.51, 68.40, 317.23°)
OKLaboklab(46.61% 0.1185 -0.1311)
OKLCHoklch(46.61% 0.177 312.1)
XYZxyz(15.3399, 8.7551, 33.6760)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A309F #559F30
analogous
#42309F #7A309F #9F308C
triadic
#7A309F #9F7A30 #309F7A
tetradic
#7A309F #9F4230 #559F30 #308C9F
square
#7A309F #9F4230 #559F30 #308C9F
split-complementary
#7A309F #8C9F30 #309F42
monochromatic
#321441 #562270 #7A309F #9C45C7 #B574D5

Accessibility & contrast

On white

7.63
#7A309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7A309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A309F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A309F#FFFFFF#000000##FFFFFF
##7A309F1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#24559D
Tritanopia (blue-blind)
#764764
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a309f;
/* rgb */ color: rgb(122, 48, 159);
/* oklch */ color: oklch(46.6% 0.177 312.1);
Tailwind
colors: {
  custom: {
    50: '#a46ebc',
    500: '#7a309f',
    950: '#000000',
  },
}
SCSS
$custom: #7a309f;
$custom-light: #a46ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a309f",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 280,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46611,
    "c": 0.17669,
    "h": 312.1
  },
  "luminance": 0.08755
}

Semantic roles & 50–950 ramp

primary
#7A309F
secondary
#88BD6E
accent
#DD4B7C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7A309F

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

Preview Lab → · Contrast checker → · Palette generator →

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