#8730B2#8730B2

#8730B2 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.200 H 311.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8730B2
RGBrgb(135, 48, 178)
HSLhsl(280, 58%, 44%)
HSVhsv(280, 73%, 70%)
CMYKcmyk(24.2%, 73%, 0%, 30.2%)
CIE-LABlab(38.69, 57.05, -52.59)
CIE-LCHlch(38.69, 77.59, 317.33°)
OKLaboklab(49.68% 0.1333 -0.1487)
OKLCHoklch(49.68% 0.2 311.9)
XYZxyz(19.0830, 10.4797, 43.1284)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8730B2 #5BB230
analogous
#4630B2 #8730B2 #B2309C
triadic
#8730B2 #B28730 #30B287
tetradic
#8730B2 #B24630 #5BB230 #309CB2
square
#8730B2 #B24630 #5BB230 #309CB2
split-complementary
#8730B2 #9CB230 #30B246
monochromatic
#3E1652 #622382 #8730B2 #A550D0 #BE80DD

Accessibility & contrast

On white

6.78
#8730B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8730B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8730B2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8730B2#FFFFFF#000000##FFFFFF
##8730B21.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#1E5DAF
Tritanopia (blue-blind)
#824D6E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8730b2;
/* rgb */ color: rgb(135, 48, 178);
/* oklch */ color: oklch(49.7% 0.200 311.9);
Tailwind
colors: {
  custom: {
    50: '#ae71ca',
    500: '#8730b2',
    950: '#000000',
  },
}
SCSS
$custom: #8730b2;
$custom-light: #ae71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8730b2",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 280.154,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49682,
    "c": 0.19967,
    "h": 311.9
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#8730B2
secondary
#92C678
accent
#E1477A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8730B2

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

Preview Lab → · Contrast checker → · Palette generator →

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