#8C30BA#8C30BA

#8C30BA is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.209 H 311.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8C30BA
RGBrgb(140, 48, 186)
HSLhsl(280, 59%, 46%)
HSVhsv(280, 74%, 73%)
CMYKcmyk(24.7%, 74.2%, 0%, 27.1%)
CIE-LABlab(39.97, 59.72, -55.20)
CIE-LCHlch(39.97, 81.32, 317.25°)
OKLaboklab(50.92% 0.1386 -0.1562)
OKLCHoklch(50.92% 0.209 311.6)
XYZxyz(20.7334, 11.2351, 47.5212)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C30BA #5EBA30
analogous
#4730BA #8C30BA #BA30A3
triadic
#8C30BA #BA8C30 #30BA8C
tetradic
#8C30BA #BA4730 #5EBA30 #30A3BA
square
#8C30BA #BA4730 #5EBA30 #30A3BA
split-complementary
#8C30BA #A3BA30 #30BA47
monochromatic
#431759 #672389 #8C30BA #A954D3 #C185DF

Accessibility & contrast

On white

6.47
#8C30BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8C30BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C30BA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C30BA#FFFFFF#000000##FFFFFF
##8C30BA1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#1960B7
Tritanopia (blue-blind)
#865073
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8c30ba;
/* rgb */ color: rgb(140, 48, 186);
/* oklch */ color: oklch(50.9% 0.209 311.6);
Tailwind
colors: {
  custom: {
    50: '#b272d0',
    500: '#8c30ba',
    950: '#000000',
  },
}
SCSS
$custom: #8c30ba;
$custom-light: #b272d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8c30ba",
  "rgb": {
    "r": 140,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 280,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50918,
    "c": 0.20883,
    "h": 311.6
  },
  "luminance": 0.11235
}

Semantic roles & 50–950 ramp

primary
#8C30BA
secondary
#96C97D
accent
#E2467A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8C30BA

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

Preview Lab → · Contrast checker → · Palette generator →

#8C30BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva