#8B33C5#8B33C5

#8B33C5 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.9% C 0.216 H 307.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8B33C5
RGBrgb(139, 51, 197)
HSLhsl(276, 59%, 49%)
HSVhsv(276, 74%, 77%)
CMYKcmyk(29.4%, 74.1%, 0%, 22.7%)
CIE-LABlab(41.04, 60.71, -59.92)
CIE-LCHlch(41.04, 85.30, 315.37°)
OKLaboklab(51.89% 0.1326 -0.1701)
OKLCHoklch(51.89% 0.216 307.9)
XYZxyz(21.9072, 11.8882, 53.9531)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B33C5 #6DC533
analogous
#4233C5 #8B33C5 #C533B6
triadic
#8B33C5 #C58B33 #33C58B
tetradic
#8B33C5 #C54233 #6DC533 #33B6C5
square
#8B33C5 #C54233 #6DC533 #33B6C5
split-complementary
#8B33C5 #B6C533 #33C542
monochromatic
#461A64 #692694 #8B33C5 #A75FD6 #C290E2

Accessibility & contrast

On white

6.22
#8B33C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8B33C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B33C5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B33C5#FFFFFF#000000##FFFFFF
##8B33C51.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#82567A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b33c5;
/* rgb */ color: rgb(139, 51, 197);
/* oklch */ color: oklch(51.9% 0.216 307.9);
Tailwind
colors: {
  custom: {
    50: '#b273d7',
    500: '#8b33c5',
    950: '#000000',
  },
}
SCSS
$custom: #8b33c5;
$custom-light: #b273d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b33c5",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 197
  },
  "hsl": {
    "h": 276.164,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.21569,
    "h": 307.9
  },
  "luminance": 0.11888
}

Semantic roles & 50–950 ramp

primary
#8B33C5
secondary
#A3CD87
accent
#E24684
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B33C5

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

Preview Lab → · Contrast checker → · Palette generator →

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