#8B30BF#8B30BF

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

Color values

HEX#8B30BF
RGBrgb(139, 48, 191)
HSLhsl(278, 60%, 47%)
HSVhsv(278, 75%, 75%)
CMYKcmyk(27.2%, 74.9%, 0%, 25.1%)
CIE-LABlab(40.19, 60.59, -57.80)
CIE-LCHlch(40.19, 83.73, 316.35°)
OKLaboklab(51.15% 0.1364 -0.1639)
OKLCHoklch(51.15% 0.213 309.8)
XYZxyz(21.1065, 11.3649, 50.3619)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30BF #64BF30
analogous
#4430BF #8B30BF #BF30AC
triadic
#8B30BF #BF8B30 #30BF8B
tetradic
#8B30BF #BF4430 #64BF30 #30ACBF
square
#8B30BF #BF4430 #64BF30 #30ACBF
split-complementary
#8B30BF #ACBF30 #30BF44
monochromatic
#44175D #67248E #8B30BF #A757D5 #C188E1

Accessibility & contrast

On white

6.42
#8B30BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8B30BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30BF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30BF#FFFFFF#000000##FFFFFF
##8B30BF1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#0560BC
Tritanopia (blue-blind)
#835276
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b30bf;
/* rgb */ color: rgb(139, 48, 191);
/* oklch */ color: oklch(51.2% 0.213 309.8);
Tailwind
colors: {
  custom: {
    50: '#b272d3',
    500: '#8b30bf',
    950: '#000000',
  },
}
SCSS
$custom: #8b30bf;
$custom-light: #b272d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30bf",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 278.182,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51153,
    "c": 0.21322,
    "h": 309.8
  },
  "luminance": 0.11364
}

Semantic roles & 50–950 ramp

primary
#8B30BF
secondary
#9BCB80
accent
#E3457E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8B30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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