#8B33BB#8B33BB

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

Color values

HEX#8B33BB
RGBrgb(139, 51, 187)
HSLhsl(279, 57%, 47%)
HSVhsv(279, 73%, 73%)
CMYKcmyk(25.7%, 72.7%, 0%, 26.7%)
CIE-LABlab(40.32, 58.55, -55.24)
CIE-LCHlch(40.32, 80.49, 316.67°)
OKLaboklab(51.16% 0.1343 -0.1564)
OKLCHoklch(51.16% 0.206 310.7)
XYZxyz(20.7992, 11.4450, 48.1175)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B33BB #63BB33
analogous
#4733BB #8B33BB #BB33A7
triadic
#8B33BB #BB8B33 #33BB8B
tetradic
#8B33BB #BB4733 #63BB33 #33A7BB
square
#8B33BB #BB4733 #63BB33 #33A7BB
split-complementary
#8B33BB #A7BB33 #33BB47
monochromatic
#44195B #67268B #8B33BB #A759D2 #C189DF

Accessibility & contrast

On white

6.39
#8B33BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8B33BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B33BB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B33BB#FFFFFF#000000##FFFFFF
##8B33BB1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#1A60B8
Tritanopia (blue-blind)
#855274
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b33bb;
/* rgb */ color: rgb(139, 51, 187);
/* oklch */ color: oklch(51.2% 0.206 310.7);
Tailwind
colors: {
  custom: {
    50: '#b173d0',
    500: '#8b33bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b33bb;
$custom-light: #b173d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b33bb",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 278.824,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51156,
    "c": 0.20609,
    "h": 310.7
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#8B33BB
secondary
#9AC981
accent
#E0477D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B33BB

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

Preview Lab → · Contrast checker → · Palette generator →

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