#8B33B3#8B33B3

#8B33B3 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.198 H 313.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8B33B3
RGBrgb(139, 51, 179)
HSLhsl(281, 56%, 45%)
HSVhsv(281, 72%, 70%)
CMYKcmyk(22.3%, 71.5%, 0%, 29.8%)
CIE-LABlab(39.77, 56.85, -51.41)
CIE-LCHlch(39.77, 76.65, 317.88°)
OKLaboklab(50.59% 0.1353 -0.1451)
OKLCHoklch(50.59% 0.198 313)
XYZxyz(19.9665, 11.1119, 43.7321)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B33B3 #5BB333
analogous
#4B33B3 #8B33B3 #B3339B
triadic
#8B33B3 #B38B33 #33B38B
tetradic
#8B33B3 #B34B33 #5BB333 #339BB3
square
#8B33B3 #B34B33 #5BB333 #339BB3
split-complementary
#8B33B3 #9BB333 #33B34B
monochromatic
#411854 #662583 #8B33B3 #A855CE #C184DC

Accessibility & contrast

On white

6.52
#8B33B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8B33B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B33B3
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B33B3#FFFFFF#000000##FFFFFF
##8B33B31.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#2760B0
Tritanopia (blue-blind)
#874E70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b33b3;
/* rgb */ color: rgb(139, 51, 179);
/* oklch */ color: oklch(50.6% 0.198 313.0);
Tailwind
colors: {
  custom: {
    50: '#b173ca',
    500: '#8b33b3',
    950: '#000000',
  },
}
SCSS
$custom: #8b33b3;
$custom-light: #b173ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b33b3",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 281.25,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50589,
    "c": 0.19843,
    "h": 313
  },
  "luminance": 0.11111
}

Semantic roles & 50–950 ramp

primary
#8B33B3
secondary
#93C67C
accent
#DF4978
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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