#7A309C#7A309C

#7A309C is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.174 H 313.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7A309C
RGBrgb(122, 48, 156)
HSLhsl(281, 53%, 40%)
HSVhsv(281, 69%, 61%)
CMYKcmyk(21.8%, 69.2%, 0%, 38.8%)
CIE-LABlab(35.31, 49.55, -44.96)
CIE-LCHlch(35.31, 66.91, 317.78°)
OKLaboklab(46.4% 0.1187 -0.1267)
OKLCHoklch(46.4% 0.174 313.1)
XYZxyz(15.0827, 8.6522, 32.3216)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A309C #529C30
analogous
#44309C #7A309C #9C3088
triadic
#7A309C #9C7A30 #309C7A
tetradic
#7A309C #9C4430 #529C30 #30889C
square
#7A309C #9C4430 #529C30 #30889C
split-complementary
#7A309C #889C30 #309C44
monochromatic
#31133E #55226D #7A309C #9D44C5 #B573D4

Accessibility & contrast

On white

7.69
#7A309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7A309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A309C
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A309C#FFFFFF#000000##FFFFFF
##7A309C1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#28559A
Tritanopia (blue-blind)
#764662
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a309c;
/* rgb */ color: rgb(122, 48, 156);
/* oklch */ color: oklch(46.4% 0.174 313.1);
Tailwind
colors: {
  custom: {
    50: '#a46eba',
    500: '#7a309c',
    950: '#000000',
  },
}
SCSS
$custom: #7a309c;
$custom-light: #a46eba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a309c",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 281.111,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.46401,
    "c": 0.17365,
    "h": 313.1
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#7A309C
secondary
#85BC6C
accent
#DC4B79
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7A309C

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

Preview Lab → · Contrast checker → · Palette generator →

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