#8B30C0#8B30C0

#8B30C0 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.214 H 309.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8B30C0
RGBrgb(139, 48, 192)
HSLhsl(278, 60%, 47%)
HSVhsv(278, 75%, 75%)
CMYKcmyk(27.6%, 75%, 0%, 24.7%)
CIE-LABlab(40.26, 60.80, -58.26)
CIE-LCHlch(40.26, 84.21, 316.22°)
OKLaboklab(51.23% 0.1363 -0.1652)
OKLCHoklch(51.23% 0.214 309.5)
XYZxyz(21.2169, 11.4091, 50.9434)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30C0 #65C030
analogous
#4330C0 #8B30C0 #C030AD
triadic
#8B30C0 #C08B30 #30C08B
tetradic
#8B30C0 #C04330 #65C030 #30ADC0
square
#8B30C0 #C04330 #65C030 #30ADC0
split-complementary
#8B30C0 #ADC030 #30C043
monochromatic
#44185E #68248F #8B30C0 #A758D5 #C189E1

Accessibility & contrast

On white

6.40
#8B30C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8B30C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30C0
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30C0#FFFFFF#000000##FFFFFF
##8B30C01.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#835276
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b30c0;
/* rgb */ color: rgb(139, 48, 192);
/* oklch */ color: oklch(51.2% 0.214 309.5);
Tailwind
colors: {
  custom: {
    50: '#b272d4',
    500: '#8b30c0',
    950: '#000000',
  },
}
SCSS
$custom: #8b30c0;
$custom-light: #b272d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30c0",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 277.917,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51227,
    "c": 0.21416,
    "h": 309.5
  },
  "luminance": 0.11409
}

Semantic roles & 50–950 ramp

primary
#8B30C0
secondary
#9CCB80
accent
#E3457F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8B30C0

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

Preview Lab → · Contrast checker → · Palette generator →

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