#8730B4#8730B4

#8730B4 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.202 H 311.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8730B4
RGBrgb(135, 48, 180)
HSLhsl(280, 58%, 45%)
HSVhsv(280, 73%, 71%)
CMYKcmyk(25%, 73.3%, 0%, 29.4%)
CIE-LABlab(38.83, 57.47, -53.55)
CIE-LCHlch(38.83, 78.55, 317.03°)
OKLaboklab(49.83% 0.133 -0.1515)
OKLCHoklch(49.83% 0.202 311.3)
XYZxyz(19.2853, 10.5606, 44.1936)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8730B4 #5DB430
analogous
#4530B4 #8730B4 #B4309F
triadic
#8730B4 #B48730 #30B487
tetradic
#8730B4 #B44530 #5DB430 #309FB4
square
#8730B4 #B44530 #5DB430 #309FB4
split-complementary
#8730B4 #9FB430 #30B445
monochromatic
#3F1653 #632384 #8730B4 #A551D1 #BE81DD

Accessibility & contrast

On white

6.75
#8730B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8730B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8730B4
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8730B4#FFFFFF#000000##FFFFFF
##8730B41.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#1A5DB1
Tritanopia (blue-blind)
#814E6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8730b4;
/* rgb */ color: rgb(135, 48, 180);
/* oklch */ color: oklch(49.8% 0.202 311.3);
Tailwind
colors: {
  custom: {
    50: '#ae71cb',
    500: '#8730b4',
    950: '#000000',
  },
}
SCSS
$custom: #8730b4;
$custom-light: #ae71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8730b4",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 279.545,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49826,
    "c": 0.20159,
    "h": 311.3
  },
  "luminance": 0.1056
}

Semantic roles & 50–950 ramp

primary
#8730B4
secondary
#94C679
accent
#E1477B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8730B4

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

Preview Lab → · Contrast checker → · Palette generator →

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