#8B30C5#8B30C5

#8B30C5 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.6% C 0.219 H 308.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8B30C5
RGBrgb(139, 48, 197)
HSLhsl(277, 61%, 48%)
HSVhsv(277, 76%, 77%)
CMYKcmyk(29.4%, 75.6%, 0%, 22.7%)
CIE-LABlab(40.63, 61.88, -60.59)
CIE-LCHlch(40.63, 86.60, 315.61°)
OKLaboklab(51.6% 0.1353 -0.1721)
OKLCHoklch(51.6% 0.219 308.2)
XYZxyz(21.7804, 11.6344, 53.9108)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30C5 #6AC530
analogous
#4030C5 #8B30C5 #C530B4
triadic
#8B30C5 #C58B30 #30C58B
tetradic
#8B30C5 #C54030 #6AC530 #30B4C5
square
#8B30C5 #C54030 #6AC530 #30B4C5
split-complementary
#8B30C5 #B4C530 #30C540
monochromatic
#461863 #682494 #8B30C5 #A75BD7 #C18CE3

Accessibility & contrast

On white

6.31
#8B30C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8B30C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30C5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30C5#FFFFFF#000000##FFFFFF
##8B30C51.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#825479
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b30c5;
/* rgb */ color: rgb(139, 48, 197);
/* oklch */ color: oklch(51.6% 0.219 308.2);
Tailwind
colors: {
  custom: {
    50: '#b272d7',
    500: '#8b30c5',
    950: '#000000',
  },
}
SCSS
$custom: #8b30c5;
$custom-light: #b272d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30c5",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 276.644,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51603,
    "c": 0.21888,
    "h": 308.2
  },
  "luminance": 0.11634
}

Semantic roles & 50–950 ramp

primary
#8B30C5
secondary
#A0CD84
accent
#E44482
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120815
muted
#817B83

Preview Lab

Preview with #8B30C5

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

Preview Lab → · Contrast checker → · Palette generator →

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