#8730C4#8730C4

#8730C4 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.0% C 0.217 H 306.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8730C4
RGBrgb(135, 48, 196)
HSLhsl(275, 61%, 48%)
HSVhsv(275, 76%, 77%)
CMYKcmyk(31.1%, 75.5%, 0%, 23.1%)
CIE-LABlab(40.00, 60.94, -61.05)
CIE-LCHlch(40.00, 86.26, 314.95°)
OKLaboklab(51.02% 0.1301 -0.1736)
OKLCHoklch(51.02% 0.217 306.9)
XYZxyz(21.0103, 11.2506, 53.2786)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8730C4 #6DC430
analogous
#3D30C4 #8730C4 #C430B7
triadic
#8730C4 #C48730 #30C487
tetradic
#8730C4 #C43D30 #6DC430 #30B7C4
square
#8730C4 #C43D30 #6DC430 #30B7C4
split-complementary
#8730C4 #B7C430 #30C43D
monochromatic
#431862 #652493 #8730C4 #A45AD7 #BF8CE3

Accessibility & contrast

On white

6.46
#8730C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8730C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8730C4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8730C4#FFFFFF#000000##FFFFFF
##8730C41.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#7C5578
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8730c4;
/* rgb */ color: rgb(135, 48, 196);
/* oklch */ color: oklch(51.0% 0.217 306.9);
Tailwind
colors: {
  custom: {
    50: '#af71d7',
    500: '#8730c4',
    950: '#000000',
  },
}
SCSS
$custom: #8730c4;
$custom-light: #af71d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8730c4",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 275.27,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51019,
    "c": 0.2169,
    "h": 306.9
  },
  "luminance": 0.1125
}

Semantic roles & 50–950 ramp

primary
#8730C4
secondary
#A1CD83
accent
#E44486
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8730C4

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

Preview Lab → · Contrast checker → · Palette generator →

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