#8B30C3#8B30C3

#8B30C3 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.5% C 0.217 H 308.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8B30C3
RGBrgb(139, 48, 195)
HSLhsl(277, 60%, 48%)
HSVhsv(277, 75%, 76%)
CMYKcmyk(28.7%, 75.4%, 0%, 23.5%)
CIE-LABlab(40.48, 61.45, -59.66)
CIE-LCHlch(40.48, 85.65, 315.85°)
OKLaboklab(51.45% 0.1357 -0.1693)
OKLCHoklch(51.45% 0.217 308.7)
XYZxyz(21.5527, 11.5434, 52.7119)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30C3 #68C330
analogous
#4230C3 #8B30C3 #C330B1
triadic
#8B30C3 #C38B30 #30C38B
tetradic
#8B30C3 #C34230 #68C330 #30B1C3
square
#8B30C3 #C34230 #68C330 #30B1C3
split-complementary
#8B30C3 #B1C330 #30C342
monochromatic
#451861 #682492 #8B30C3 #A75AD6 #C18BE2

Accessibility & contrast

On white

6.35
#8B30C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8B30C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30C3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30C3#FFFFFF#000000##FFFFFF
##8B30C31.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#825478
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b30c3;
/* rgb */ color: rgb(139, 48, 195);
/* oklch */ color: oklch(51.5% 0.217 308.7);
Tailwind
colors: {
  custom: {
    50: '#b272d6',
    500: '#8b30c3',
    950: '#000000',
  },
}
SCSS
$custom: #8b30c3;
$custom-light: #b272d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30c3",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 195
  },
  "hsl": {
    "h": 277.143,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51452,
    "c": 0.21699,
    "h": 308.7
  },
  "luminance": 0.11543
}

Semantic roles & 50–950 ramp

primary
#8B30C3
secondary
#9FCC82
accent
#E44481
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8B30C3

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

Preview Lab → · Contrast checker → · Palette generator →

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