#8730B1#8730B1

#8730B1 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.199 H 312.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8730B1
RGBrgb(135, 48, 177)
HSLhsl(280, 57%, 44%)
HSVhsv(280, 73%, 69%)
CMYKcmyk(23.7%, 72.9%, 0%, 30.6%)
CIE-LABlab(38.62, 56.83, -52.11)
CIE-LCHlch(38.62, 77.11, 317.48°)
OKLaboklab(49.61% 0.1334 -0.1473)
OKLCHoklch(49.61% 0.199 312.2)
XYZxyz(18.9830, 10.4397, 42.6015)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8730B1 #5AB130
analogous
#4730B1 #8730B1 #B1309B
triadic
#8730B1 #B18730 #30B187
tetradic
#8730B1 #B14730 #5AB130 #309BB1
square
#8730B1 #B14730 #5AB130 #309BB1
split-complementary
#8730B1 #9BB130 #30B147
monochromatic
#3E1651 #622381 #8730B1 #A54FCF #BE7FDC

Accessibility & contrast

On white

6.80
#8730B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8730B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8730B1
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8730B1#FFFFFF#000000##FFFFFF
##8730B11.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#205DAE
Tritanopia (blue-blind)
#824D6E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8730b1;
/* rgb */ color: rgb(135, 48, 177);
/* oklch */ color: oklch(49.6% 0.199 312.2);
Tailwind
colors: {
  custom: {
    50: '#ae71c9',
    500: '#8730b1',
    950: '#000000',
  },
}
SCSS
$custom: #8730b1;
$custom-light: #ae71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8730b1",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 280.465,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4961,
    "c": 0.19872,
    "h": 312.2
  },
  "luminance": 0.10439
}

Semantic roles & 50–950 ramp

primary
#8730B1
secondary
#91C578
accent
#E14779
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8730B1

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

Preview Lab → · Contrast checker → · Palette generator →

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