#8B33B2#8B33B2

#8B33B2 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.197 H 313.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8B33B2
RGBrgb(139, 51, 178)
HSLhsl(282, 55%, 45%)
HSVhsv(282, 71%, 70%)
CMYKcmyk(21.9%, 71.3%, 0%, 30.2%)
CIE-LABlab(39.70, 56.64, -50.93)
CIE-LCHlch(39.70, 76.17, 318.04°)
OKLaboklab(50.52% 0.1354 -0.1437)
OKLCHoklch(50.52% 0.197 313.3)
XYZxyz(19.8658, 11.0716, 43.2014)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B33B2 #5AB233
analogous
#4C33B2 #8B33B2 #B2339A
triadic
#8B33B2 #B28B33 #33B28B
tetradic
#8B33B2 #B24C33 #5AB233 #339AB2
square
#8B33B2 #B24C33 #5AB233 #339AB2
split-complementary
#8B33B2 #9AB233 #33B24C
monochromatic
#411853 #662582 #8B33B2 #A954CE #C184DC

Accessibility & contrast

On white

6.53
#8B33B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8B33B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B33B2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B33B2#FFFFFF#000000##FFFFFF
##8B33B21.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#295FAF
Tritanopia (blue-blind)
#874E6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b33b2;
/* rgb */ color: rgb(139, 51, 178);
/* oklch */ color: oklch(50.5% 0.197 313.3);
Tailwind
colors: {
  custom: {
    50: '#b173ca',
    500: '#8b33b2',
    950: '#000000',
  },
}
SCSS
$custom: #8b33b2;
$custom-light: #b173ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b33b2",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 281.575,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5052,
    "c": 0.19747,
    "h": 313.3
  },
  "luminance": 0.11071
}

Semantic roles & 50–950 ramp

primary
#8B33B2
secondary
#92C57C
accent
#DF4977
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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