#8B33BC#8B33BC

#8B33BC is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.2% C 0.207 H 310.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8B33BC
RGBrgb(139, 51, 188)
HSLhsl(279, 57%, 47%)
HSVhsv(279, 73%, 74%)
CMYKcmyk(26.1%, 72.9%, 0%, 26.3%)
CIE-LABlab(40.39, 58.76, -55.71)
CIE-LCHlch(40.39, 80.97, 316.53°)
OKLaboklab(51.23% 0.1341 -0.1577)
OKLCHoklch(51.23% 0.207 310.4)
XYZxyz(20.9066, 11.4879, 48.6833)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B33BC #64BC33
analogous
#4733BC #8B33BC #BC33A9
triadic
#8B33BC #BC8B33 #33BC8B
tetradic
#8B33BC #BC4733 #64BC33 #33A9BC
square
#8B33BC #BC4733 #64BC33 #33A9BC
split-complementary
#8B33BC #A9BC33 #33BC47
monochromatic
#44195C #67268C #8B33BC #A75AD2 #C18ADF

Accessibility & contrast

On white

6.37
#8B33BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8B33BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B33BC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B33BC#FFFFFF#000000##FFFFFF
##8B33BC1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#1761B9
Tritanopia (blue-blind)
#845275
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b33bc;
/* rgb */ color: rgb(139, 51, 188);
/* oklch */ color: oklch(51.2% 0.207 310.4);
Tailwind
colors: {
  custom: {
    50: '#b173d1',
    500: '#8b33bc',
    950: '#000000',
  },
}
SCSS
$custom: #8b33bc;
$custom-light: #b173d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b33bc",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 278.54,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51229,
    "c": 0.20705,
    "h": 310.4
  },
  "luminance": 0.11487
}

Semantic roles & 50–950 ramp

primary
#8B33BC
secondary
#9BC981
accent
#E1477E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B33BC

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

Preview Lab → · Contrast checker → · Palette generator →

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