#8730B5#8730B5

#8730B5 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.203 H 311.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8730B5
RGBrgb(135, 48, 181)
HSLhsl(279, 58%, 45%)
HSVhsv(279, 73%, 71%)
CMYKcmyk(25.4%, 73.5%, 0%, 29%)
CIE-LABlab(38.90, 57.69, -54.02)
CIE-LCHlch(38.90, 79.03, 316.88°)
OKLaboklab(49.9% 0.1328 -0.1529)
OKLCHoklch(49.9% 0.203 311)
XYZxyz(19.3875, 10.6015, 44.7321)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8730B5 #5EB530
analogous
#4430B5 #8730B5 #B530A1
triadic
#8730B5 #B58730 #30B587
tetradic
#8730B5 #B54430 #5EB530 #30A1B5
square
#8730B5 #B54430 #5EB530 #30A1B5
split-complementary
#8730B5 #A1B530 #30B544
monochromatic
#3F1654 #632385 #8730B5 #A551D1 #BE82DE

Accessibility & contrast

On white

6.73
#8730B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8730B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8730B5
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8730B5#FFFFFF#000000##FFFFFF
##8730B51.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#185DB2
Tritanopia (blue-blind)
#814E70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8730b5;
/* rgb */ color: rgb(135, 48, 181);
/* oklch */ color: oklch(49.9% 0.203 311.0);
Tailwind
colors: {
  custom: {
    50: '#ae71cc',
    500: '#8730b5',
    950: '#000000',
  },
}
SCSS
$custom: #8730b5;
$custom-light: #ae71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8730b5",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 279.248,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49898,
    "c": 0.20254,
    "h": 311
  },
  "luminance": 0.10601
}

Semantic roles & 50–950 ramp

primary
#8730B5
secondary
#95C77A
accent
#E1467C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8730B5

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

Preview Lab → · Contrast checker → · Palette generator →

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