#8B30C2#8B30C2

#8B30C2 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.4% C 0.216 H 309.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8B30C2
RGBrgb(139, 48, 194)
HSLhsl(277, 60%, 47%)
HSVhsv(277, 75%, 76%)
CMYKcmyk(28.4%, 75.3%, 0%, 23.9%)
CIE-LABlab(40.41, 61.23, -59.20)
CIE-LCHlch(40.41, 85.17, 315.97°)
OKLaboklab(51.38% 0.1359 -0.168)
OKLCHoklch(51.38% 0.216 309)
XYZxyz(21.4400, 11.4983, 52.1184)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30C2 #67C230
analogous
#4230C2 #8B30C2 #C230B0
triadic
#8B30C2 #C28B30 #30C28B
tetradic
#8B30C2 #C24230 #67C230 #30B0C2
square
#8B30C2 #C24230 #67C230 #30B0C2
split-complementary
#8B30C2 #B0C230 #30C242
monochromatic
#451860 #682491 #8B30C2 #A759D6 #C18AE2

Accessibility & contrast

On white

6.36
#8B30C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8B30C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30C2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30C2#FFFFFF#000000##FFFFFF
##8B30C21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#835377
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b30c2;
/* rgb */ color: rgb(139, 48, 194);
/* oklch */ color: oklch(51.4% 0.216 309.0);
Tailwind
colors: {
  custom: {
    50: '#b272d5',
    500: '#8b30c2',
    950: '#000000',
  },
}
SCSS
$custom: #8b30c2;
$custom-light: #b272d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30c2",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 277.397,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51377,
    "c": 0.21605,
    "h": 309
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

primary
#8B30C2
secondary
#9ECC82
accent
#E34480
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8B30C2

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

Preview Lab → · Contrast checker → · Palette generator →

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