#8730A4#8730A4

#8730A4 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.186 H 316.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8730A4
RGBrgb(135, 48, 164)
HSLhsl(285, 55%, 42%)
HSVhsv(285, 71%, 64%)
CMYKcmyk(17.7%, 70.7%, 0%, 35.7%)
CIE-LABlab(37.74, 54.13, -45.76)
CIE-LCHlch(37.74, 70.88, 319.79°)
OKLaboklab(48.71% 0.1349 -0.1287)
OKLCHoklch(48.71% 0.186 316.3)
XYZxyz(17.7484, 9.9458, 36.0996)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8730A4 #4DA430
analogous
#4D30A4 #8730A4 #A43087
triadic
#8730A4 #A48730 #30A487
tetradic
#8730A4 #A44D30 #4DA430 #3087A4
square
#8730A4 #A44D30 #4DA430 #3087A4
split-complementary
#8730A4 #87A430 #30A44D
monochromatic
#391445 #602275 #8730A4 #A948C9 #BF77D7

Accessibility & contrast

On white

7.03
#8730A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8730A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8730A4
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8730A4#FFFFFF#000000##FFFFFF
##8730A41.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#305BA1
Tritanopia (blue-blind)
#854767
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8730a4;
/* rgb */ color: rgb(135, 48, 164);
/* oklch */ color: oklch(48.7% 0.186 316.3);
Tailwind
colors: {
  custom: {
    50: '#ae70c0',
    500: '#8730a4',
    950: '#000000',
  },
}
SCSS
$custom: #8730a4;
$custom-light: #ae70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8730a4",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 285,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48709,
    "c": 0.18639,
    "h": 316.3
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#8730A4
secondary
#84BF70
accent
#DE4A6F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8730A4

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

Preview Lab → · Contrast checker → · Palette generator →

#8730A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva