#8B33BA#8B33BA

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

Color values

HEX#8B33BA
RGBrgb(139, 51, 186)
HSLhsl(279, 57%, 46%)
HSVhsv(279, 73%, 73%)
CMYKcmyk(25.3%, 72.6%, 0%, 27.1%)
CIE-LABlab(40.25, 58.33, -54.76)
CIE-LCHlch(40.25, 80.01, 316.81°)
OKLaboklab(51.08% 0.1344 -0.155)
OKLCHoklch(51.08% 0.205 310.9)
XYZxyz(20.6925, 11.4023, 47.5557)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B33BA #62BA33
analogous
#4833BA #8B33BA #BA33A6
triadic
#8B33BA #BA8B33 #33BA8B
tetradic
#8B33BA #BA4833 #62BA33 #33A6BA
square
#8B33BA #BA4833 #62BA33 #33A6BA
split-complementary
#8B33BA #A6BA33 #33BA48
monochromatic
#43195A #67268A #8B33BA #A759D1 #C189DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B33BA#FFFFFF#000000##FFFFFF
##8B33BA1.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)
#005BBE
Deuteranopia (green-blind)
#1C60B7
Tritanopia (blue-blind)
#855174
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b33ba;
/* rgb */ color: rgb(139, 51, 186);
/* oklch */ color: oklch(51.1% 0.205 310.9);
Tailwind
colors: {
  custom: {
    50: '#b173cf',
    500: '#8b33ba',
    950: '#000000',
  },
}
SCSS
$custom: #8b33ba;
$custom-light: #b173cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b33ba",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 279.111,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51084,
    "c": 0.20512,
    "h": 310.9
  },
  "luminance": 0.11402
}

Semantic roles & 50–950 ramp

primary
#8B33BA
secondary
#99C980
accent
#E0487D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B33BA

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

Preview Lab → · Contrast checker → · Palette generator →

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