#8B33B9#8B33B9

#8B33B9 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.204 H 311.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8B33B9
RGBrgb(139, 51, 185)
HSLhsl(279, 57%, 46%)
HSVhsv(279, 72%, 73%)
CMYKcmyk(24.9%, 72.4%, 0%, 27.5%)
CIE-LABlab(40.18, 58.12, -54.29)
CIE-LCHlch(40.18, 79.53, 316.95°)
OKLaboklab(51.01% 0.1346 -0.1536)
OKLCHoklch(51.01% 0.204 311.2)
XYZxyz(20.5866, 11.3599, 46.9977)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B33B9 #61B933
analogous
#4833B9 #8B33B9 #B933A4
triadic
#8B33B9 #B98B33 #33B98B
tetradic
#8B33B9 #B94833 #61B933 #33A4B9
square
#8B33B9 #B94833 #61B933 #33A4B9
split-complementary
#8B33B9 #A4B933 #33B948
monochromatic
#431959 #672689 #8B33B9 #A858D1 #C188DE

Accessibility & contrast

On white

6.42
#8B33B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8B33B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B33B9
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B33B9#FFFFFF#000000##FFFFFF
##8B33B91.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#1E60B6
Tritanopia (blue-blind)
#855173
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b33b9;
/* rgb */ color: rgb(139, 51, 185);
/* oklch */ color: oklch(51.0% 0.204 311.2);
Tailwind
colors: {
  custom: {
    50: '#b173cf',
    500: '#8b33b9',
    950: '#000000',
  },
}
SCSS
$custom: #8b33b9;
$custom-light: #b173cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b33b9",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 185
  },
  "hsl": {
    "h": 279.403,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51013,
    "c": 0.20418,
    "h": 311.2
  },
  "luminance": 0.11359
}

Semantic roles & 50–950 ramp

primary
#8B33B9
secondary
#99C880
accent
#E0487C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B33B9

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

Preview Lab → · Contrast checker → · Palette generator →

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