#A730A2#A730A2

#A730A2 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.2% C 0.199 H 329.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A730A2
RGBrgb(167, 48, 162)
HSLhsl(303, 55%, 42%)
HSVhsv(303, 71%, 65%)
CMYKcmyk(0%, 71.3%, 3%, 34.5%)
CIE-LABlab(42.67, 60.99, -36.41)
CIE-LCHlch(42.67, 71.03, 329.16°)
OKLaboklab(53.2% 0.1723 -0.1005)
OKLCHoklch(53.2% 0.199 329.8)
XYZxyz(23.5147, 12.9398, 35.4345)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A730A2 #30A735
analogous
#7130A7 #A730A2 #A73067
triadic
#A730A2 #A2A730 #30A2A7
tetradic
#A730A2 #A77130 #30A735 #3067A7
square
#A730A2 #A77130 #30A735 #3067A7
split-complementary
#A730A2 #67A730 #30A771
monochromatic
#481546 #772274 #A730A2 #CB49C5 #D879D4

Accessibility & contrast

On white

5.85
#A730A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A730A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A730A2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A730A2#FFFFFF#000000##FFFFFF
##A730A21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA5
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#AD4066
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a730a2;
/* rgb */ color: rgb(167, 48, 162);
/* oklch */ color: oklch(53.2% 0.199 329.8);
Tailwind
colors: {
  custom: {
    50: '#c574be',
    500: '#a730a2',
    950: '#000000',
  },
}
SCSS
$custom: #a730a2;
$custom-light: #c574be;
$custom-dark: #000000;
JSON
{
  "hex": "#a730a2",
  "rgb": {
    "r": 167,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 302.521,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53202,
    "c": 0.19948,
    "h": 329.8
  },
  "luminance": 0.12938
}

Semantic roles & 50–950 ramp

primary
#A730A2
secondary
#72C175
accent
#DF4F49
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A730A2

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

Preview Lab → · Contrast checker → · Palette generator →

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