#8B33C2#8B33C2

#8B33C2 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.7% C 0.213 H 308.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8B33C2
RGBrgb(139, 51, 194)
HSLhsl(277, 58%, 48%)
HSVhsv(277, 74%, 76%)
CMYKcmyk(28.4%, 73.7%, 0%, 23.9%)
CIE-LABlab(40.82, 60.06, -58.53)
CIE-LCHlch(40.82, 83.86, 315.74°)
OKLaboklab(51.67% 0.1331 -0.166)
OKLCHoklch(51.67% 0.213 308.7)
XYZxyz(21.5669, 11.7520, 52.1607)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B33C2 #6AC233
analogous
#4333C2 #8B33C2 #C233B1
triadic
#8B33C2 #C28B33 #33C28B
tetradic
#8B33C2 #C24333 #6AC233 #33B1C2
square
#8B33C2 #C24333 #6AC233 #33B1C2
split-complementary
#8B33C2 #B1C233 #33C243
monochromatic
#461A61 #682692 #8B33C2 #A75ED5 #C18EE1

Accessibility & contrast

On white

6.27
#8B33C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8B33C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B33C2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B33C2#FFFFFF#000000##FFFFFF
##8B33C21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0161BF
Tritanopia (blue-blind)
#835578
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b33c2;
/* rgb */ color: rgb(139, 51, 194);
/* oklch */ color: oklch(51.7% 0.213 308.7);
Tailwind
colors: {
  custom: {
    50: '#b273d5',
    500: '#8b33c2',
    950: '#000000',
  },
}
SCSS
$custom: #8b33c2;
$custom-light: #b273d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b33c2",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 276.923,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51668,
    "c": 0.21281,
    "h": 308.7
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#8B33C2
secondary
#A0CC85
accent
#E24682
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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