#A7309B#A7309B

#A7309B is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.194 H 332.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A7309B
RGBrgb(167, 48, 155)
HSLhsl(306, 55%, 42%)
HSVhsv(306, 71%, 65%)
CMYKcmyk(0%, 71.3%, 7.2%, 34.5%)
CIE-LABlab(42.30, 59.86, -32.79)
CIE-LCHlch(42.30, 68.25, 331.29°)
OKLaboklab(52.82% 0.172 -0.09)
OKLCHoklch(52.82% 0.194 332.4)
XYZxyz(22.9098, 12.6978, 32.2483)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7309B #30A73C
analogous
#7730A7 #A7309B #A73060
triadic
#A7309B #9BA730 #309BA7
tetradic
#A7309B #A77730 #30A73C #3060A7
square
#A7309B #A77730 #30A73C #3060A7
split-complementary
#A7309B #60A730 #30A777
monochromatic
#481543 #77226F #A7309B #CB49BE #D879CF

Accessibility & contrast

On white

5.93
#A7309B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A7309B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7309B
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7309B#FFFFFF#000000##FFFFFF
##A7309B1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599E
Deuteranopia (green-blind)
#566A98
Tritanopia (blue-blind)
#AE3C62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a7309b;
/* rgb */ color: rgb(167, 48, 155);
/* oklch */ color: oklch(52.8% 0.194 332.4);
Tailwind
colors: {
  custom: {
    50: '#c574b9',
    500: '#a7309b',
    950: '#000000',
  },
}
SCSS
$custom: #a7309b;
$custom-light: #c574b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a7309b",
  "rgb": {
    "r": 167,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 306.05,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52818,
    "c": 0.19412,
    "h": 332.4
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#A7309B
secondary
#72C17A
accent
#DF5849
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A7309B

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

Preview Lab → · Contrast checker → · Palette generator →

#A7309B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva