#8730AF#8730AF

#8730AF is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.197 H 312.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8730AF
RGBrgb(135, 48, 175)
HSLhsl(281, 57%, 44%)
HSVhsv(281, 73%, 69%)
CMYKcmyk(22.9%, 72.6%, 0%, 31.4%)
CIE-LABlab(38.48, 56.41, -51.14)
CIE-LCHlch(38.48, 76.14, 317.80°)
OKLaboklab(49.47% 0.1337 -0.1444)
OKLCHoklch(49.47% 0.197 312.8)
XYZxyz(18.7851, 10.3605, 41.5594)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8730AF #58AF30
analogous
#4730AF #8730AF #AF3097
triadic
#8730AF #AF8730 #30AF87
tetradic
#8730AF #AF4730 #58AF30 #3097AF
square
#8730AF #AF4730 #58AF30 #3097AF
split-complementary
#8730AF #97AF30 #30AF47
monochromatic
#3D164F #62237F #8730AF #A64ECE #BE7EDC

Accessibility & contrast

On white

6.84
#8730AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8730AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8730AF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8730AF#FFFFFF#000000##FFFFFF
##8730AF1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#235CAC
Tritanopia (blue-blind)
#834C6D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8730af;
/* rgb */ color: rgb(135, 48, 175);
/* oklch */ color: oklch(49.5% 0.197 312.8);
Tailwind
colors: {
  custom: {
    50: '#ae71c8',
    500: '#8730af',
    950: '#000000',
  },
}
SCSS
$custom: #8730af;
$custom-light: #ae71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8730af",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 281.102,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.19682,
    "h": 312.8
  },
  "luminance": 0.1036
}

Semantic roles & 50–950 ramp

primary
#8730AF
secondary
#8FC476
accent
#E04878
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8730AF

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

Preview Lab → · Contrast checker → · Palette generator →

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