#8C30BB#8C30BB

#8C30BB is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.0% C 0.210 H 311.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8C30BB
RGBrgb(140, 48, 187)
HSLhsl(280, 59%, 46%)
HSVhsv(280, 74%, 73%)
CMYKcmyk(25.1%, 74.3%, 0%, 26.7%)
CIE-LABlab(40.04, 59.93, -55.67)
CIE-LCHlch(40.04, 81.80, 317.11°)
OKLaboklab(50.99% 0.1384 -0.1576)
OKLCHoklch(50.99% 0.21 311.3)
XYZxyz(20.8401, 11.2777, 48.0831)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C30BB #5FBB30
analogous
#4630BB #8C30BB #BB30A4
triadic
#8C30BB #BB8C30 #30BB8C
tetradic
#8C30BB #BB4630 #5FBB30 #30A4BB
square
#8C30BB #BB4630 #5FBB30 #30A4BB
split-complementary
#8C30BB #A4BB30 #30BB46
monochromatic
#43175A #68238A #8C30BB #A955D3 #C186E0

Accessibility & contrast

On white

6.45
#8C30BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8C30BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C30BB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C30BB#FFFFFF#000000##FFFFFF
##8C30BB1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#1760B8
Tritanopia (blue-blind)
#865073
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8c30bb;
/* rgb */ color: rgb(140, 48, 187);
/* oklch */ color: oklch(51.0% 0.210 311.3);
Tailwind
colors: {
  custom: {
    50: '#b272d0',
    500: '#8c30bb',
    950: '#000000',
  },
}
SCSS
$custom: #8c30bb;
$custom-light: #b272d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8c30bb",
  "rgb": {
    "r": 140,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 279.712,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50991,
    "c": 0.20976,
    "h": 311.3
  },
  "luminance": 0.11277
}

Semantic roles & 50–950 ramp

primary
#8C30BB
secondary
#97C97D
accent
#E2457B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8C30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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