#8B30BC#8B30BC

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

Color values

HEX#8B30BC
RGBrgb(139, 48, 188)
HSLhsl(279, 59%, 46%)
HSVhsv(279, 74%, 74%)
CMYKcmyk(26.1%, 74.5%, 0%, 26.3%)
CIE-LABlab(39.97, 59.95, -56.39)
CIE-LCHlch(39.97, 82.30, 316.76°)
OKLaboklab(50.93% 0.137 -0.1597)
OKLCHoklch(50.93% 0.21 310.6)
XYZxyz(20.7798, 11.2342, 48.6410)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30BC #61BC30
analogous
#4530BC #8B30BC #BC30A7
triadic
#8B30BC #BC8B30 #30BC8B
tetradic
#8B30BC #BC4530 #61BC30 #30A7BC
square
#8B30BC #BC4530 #61BC30 #30A7BC
split-complementary
#8B30BC #A7BC30 #30BC45
monochromatic
#43175A #67248B #8B30BC #A855D4 #C186E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B30BC#FFFFFF#000000##FFFFFF
##8B30BC1.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)
#005AC0
Deuteranopia (green-blind)
#1160B9
Tritanopia (blue-blind)
#845174
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b30bc;
/* rgb */ color: rgb(139, 48, 188);
/* oklch */ color: oklch(50.9% 0.210 310.6);
Tailwind
colors: {
  custom: {
    50: '#b272d1',
    500: '#8b30bc',
    950: '#000000',
  },
}
SCSS
$custom: #8b30bc;
$custom-light: #b272d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30bc",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 279,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50932,
    "c": 0.2104,
    "h": 310.6
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#8B30BC
secondary
#99CA7E
accent
#E3457C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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