#8730C2#8730C2

#8730C2 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.9% C 0.215 H 307.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8730C2
RGBrgb(135, 48, 194)
HSLhsl(276, 60%, 47%)
HSVhsv(276, 75%, 76%)
CMYKcmyk(30.4%, 75.3%, 0%, 23.9%)
CIE-LABlab(39.85, 60.50, -60.13)
CIE-LCHlch(39.85, 85.30, 315.18°)
OKLaboklab(50.87% 0.1305 -0.1708)
OKLCHoklch(50.87% 0.215 307.4)
XYZxyz(20.7842, 11.1601, 52.0877)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8730C2 #6BC230
analogous
#3E30C2 #8730C2 #C230B4
triadic
#8730C2 #C28730 #30C287
tetradic
#8730C2 #C23E30 #6BC230 #30B4C2
square
#8730C2 #C23E30 #6BC230 #30B4C2
split-complementary
#8730C2 #B4C230 #30C23E
monochromatic
#431860 #652491 #8730C2 #A459D6 #BF8AE2

Accessibility & contrast

On white

6.50
#8730C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8730C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8730C2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8730C2#FFFFFF#000000##FFFFFF
##8730C21.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#7D5477
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8730c2;
/* rgb */ color: rgb(135, 48, 194);
/* oklch */ color: oklch(50.9% 0.215 307.4);
Tailwind
colors: {
  custom: {
    50: '#af71d5',
    500: '#8730c2',
    950: '#000000',
  },
}
SCSS
$custom: #8730c2;
$custom-light: #af71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8730c2",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 275.753,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50866,
    "c": 0.21499,
    "h": 307.4
  },
  "luminance": 0.1116
}

Semantic roles & 50–950 ramp

primary
#8730C2
secondary
#A0CC82
accent
#E34485
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8730C2

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

Preview Lab → · Contrast checker → · Palette generator →

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