#8730A2#8730A2

#8730A2 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.185 H 317.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8730A2
RGBrgb(135, 48, 162)
HSLhsl(286, 54%, 41%)
HSVhsv(286, 70%, 64%)
CMYKcmyk(16.7%, 70.4%, 0%, 36.5%)
CIE-LABlab(37.62, 53.72, -44.77)
CIE-LCHlch(37.62, 69.93, 320.20°)
OKLaboklab(48.58% 0.135 -0.1257)
OKLCHoklch(48.58% 0.185 317)
XYZxyz(17.5693, 9.8742, 35.1558)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8730A2 #4BA230
analogous
#4E30A2 #8730A2 #A23084
triadic
#8730A2 #A28730 #30A287
tetradic
#8730A2 #A24E30 #4BA230 #3084A2
square
#8730A2 #A24E30 #4BA230 #3084A2
split-complementary
#8730A2 #84A230 #30A24E
monochromatic
#381444 #602273 #8730A2 #AA47C8 #C076D6

Accessibility & contrast

On white

7.06
#8730A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8730A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8730A2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8730A2#FFFFFF#000000##FFFFFF
##8730A21.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#325B9F
Tritanopia (blue-blind)
#864665
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8730a2;
/* rgb */ color: rgb(135, 48, 162);
/* oklch */ color: oklch(48.6% 0.185 317.0);
Tailwind
colors: {
  custom: {
    50: '#ad70be',
    500: '#8730a2',
    950: '#000000',
  },
}
SCSS
$custom: #8730a2;
$custom-light: #ad70be;
$custom-dark: #000000;
JSON
{
  "hex": "#8730a2",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 285.789,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48575,
    "c": 0.18451,
    "h": 317
  },
  "luminance": 0.09873
}

Semantic roles & 50–950 ramp

primary
#8730A2
secondary
#82BE6F
accent
#DE4A6D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8730A2

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

Preview Lab → · Contrast checker → · Palette generator →

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