#8B30BD#8B30BD

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

Color values

HEX#8B30BD
RGBrgb(139, 48, 189)
HSLhsl(279, 59%, 46%)
HSVhsv(279, 75%, 74%)
CMYKcmyk(26.5%, 74.6%, 0%, 25.9%)
CIE-LABlab(40.04, 60.16, -56.86)
CIE-LCHlch(40.04, 82.78, 316.62°)
OKLaboklab(51.01% 0.1368 -0.1611)
OKLCHoklch(51.01% 0.211 310.3)
XYZxyz(20.8879, 11.2775, 49.2107)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30BD #62BD30
analogous
#4430BD #8B30BD #BD30A9
triadic
#8B30BD #BD8B30 #30BD8B
tetradic
#8B30BD #BD4430 #62BD30 #30A9BD
square
#8B30BD #BD4430 #62BD30 #30A9BD
split-complementary
#8B30BD #A9BD30 #30BD44
monochromatic
#43175B #67248C #8B30BD #A756D4 #C187E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B30BD#FFFFFF#000000##FFFFFF
##8B30BD1.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)
#005AC1
Deuteranopia (green-blind)
#0E60BA
Tritanopia (blue-blind)
#845175
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b30bd;
/* rgb */ color: rgb(139, 48, 189);
/* oklch */ color: oklch(51.0% 0.211 310.3);
Tailwind
colors: {
  custom: {
    50: '#b272d2',
    500: '#8b30bd',
    950: '#000000',
  },
}
SCSS
$custom: #8b30bd;
$custom-light: #b272d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30bd",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 278.723,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.21134,
    "h": 310.3
  },
  "luminance": 0.11277
}

Semantic roles & 50–950 ramp

primary
#8B30BD
secondary
#99CA7F
accent
#E3457D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8B30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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