#8730C6#8730C6

#8730C6 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.2% C 0.219 H 306.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8730C6
RGBrgb(135, 48, 198)
HSLhsl(275, 61%, 48%)
HSVhsv(275, 76%, 78%)
CMYKcmyk(31.8%, 75.8%, 0%, 22.4%)
CIE-LABlab(40.15, 61.39, -61.97)
CIE-LCHlch(40.15, 87.23, 314.73°)
OKLaboklab(51.17% 0.1297 -0.1763)
OKLCHoklch(51.17% 0.219 306.3)
XYZxyz(21.2394, 11.3422, 54.4855)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8730C6 #6FC630
analogous
#3C30C6 #8730C6 #C630BA
triadic
#8730C6 #C68730 #30C687
tetradic
#8730C6 #C63C30 #6FC630 #30BAC6
square
#8730C6 #C63C30 #6FC630 #30BAC6
split-complementary
#8730C6 #BAC630 #30C63C
monochromatic
#441863 #652495 #8730C6 #A35CD7 #BF8DE3

Accessibility & contrast

On white

6.43
#8730C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8730C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8730C6
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8730C6#FFFFFF#000000##FFFFFF
##8730C61.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#7C557A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8730c6;
/* rgb */ color: rgb(135, 48, 198);
/* oklch */ color: oklch(51.2% 0.219 306.3);
Tailwind
colors: {
  custom: {
    50: '#b072d8',
    500: '#8730c6',
    950: '#000000',
  },
}
SCSS
$custom: #8730c6;
$custom-light: #b072d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8730c6",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 198
  },
  "hsl": {
    "h": 274.8,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51174,
    "c": 0.21883,
    "h": 306.3
  },
  "luminance": 0.11342
}

Semantic roles & 50–950 ramp

primary
#8730C6
secondary
#A3CE84
accent
#E44487
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #8730C6

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

Preview Lab → · Contrast checker → · Palette generator →

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