#8B33B7#8B33B7

#8B33B7 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 50.9% C 0.202 H 311.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8B33B7
RGBrgb(139, 51, 183)
HSLhsl(280, 56%, 46%)
HSVhsv(280, 72%, 72%)
CMYKcmyk(24%, 72.1%, 0%, 28.2%)
CIE-LABlab(40.04, 57.69, -53.33)
CIE-LCHlch(40.04, 78.57, 317.25°)
OKLaboklab(50.87% 0.1348 -0.1508)
OKLCHoklch(50.87% 0.202 311.8)
XYZxyz(20.3769, 11.2761, 45.8936)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B33B7 #5FB733
analogous
#4933B7 #8B33B7 #B733A1
triadic
#8B33B7 #B78B33 #33B78B
tetradic
#8B33B7 #B74933 #5FB733 #33A1B7
square
#8B33B7 #B74933 #5FB733 #33A1B7
split-complementary
#8B33B7 #A1B733 #33B749
monochromatic
#421857 #672687 #8B33B7 #A857D0 #C187DE

Accessibility & contrast

On white

6.45
#8B33B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8B33B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B33B7
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B33B7#FFFFFF#000000##FFFFFF
##8B33B71.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#2160B4
Tritanopia (blue-blind)
#865072
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b33b7;
/* rgb */ color: rgb(139, 51, 183);
/* oklch */ color: oklch(50.9% 0.202 311.8);
Tailwind
colors: {
  custom: {
    50: '#b173cd',
    500: '#8b33b7',
    950: '#000000',
  },
}
SCSS
$custom: #8b33b7;
$custom-light: #b173cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b33b7",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 280,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50871,
    "c": 0.20225,
    "h": 311.8
  },
  "luminance": 0.11276
}

Semantic roles & 50–950 ramp

primary
#8B33B7
secondary
#97C77F
accent
#E0487B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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