#8B33C1#8B33C1

#8B33C1 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.6% C 0.212 H 309.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8B33C1
RGBrgb(139, 51, 193)
HSLhsl(277, 58%, 48%)
HSVhsv(277, 74%, 76%)
CMYKcmyk(28%, 73.6%, 0%, 24.3%)
CIE-LABlab(40.75, 59.84, -58.06)
CIE-LCHlch(40.75, 83.38, 315.86°)
OKLaboklab(51.59% 0.1333 -0.1647)
OKLCHoklch(51.59% 0.212 309)
XYZxyz(21.4550, 11.7073, 51.5712)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B33C1 #69C133
analogous
#4433C1 #8B33C1 #C133B0
triadic
#8B33C1 #C18B33 #33C18B
tetradic
#8B33C1 #C14433 #69C133 #33B0C1
square
#8B33C1 #C14433 #69C133 #33B0C1
split-complementary
#8B33C1 #B0C133 #33C144
monochromatic
#451960 #682691 #8B33C1 #A75DD4 #C18DE1

Accessibility & contrast

On white

6.28
#8B33C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8B33C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B33C1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B33C1#FFFFFF#000000##FFFFFF
##8B33C11.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#0661BE
Tritanopia (blue-blind)
#835478
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b33c1;
/* rgb */ color: rgb(139, 51, 193);
/* oklch */ color: oklch(51.6% 0.212 309.0);
Tailwind
colors: {
  custom: {
    50: '#b273d5',
    500: '#8b33c1',
    950: '#000000',
  },
}
SCSS
$custom: #8b33c1;
$custom-light: #b273d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b33c1",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 193
  },
  "hsl": {
    "h": 277.183,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51594,
    "c": 0.21185,
    "h": 309
  },
  "luminance": 0.11707
}

Semantic roles & 50–950 ramp

primary
#8B33C1
secondary
#9FCB84
accent
#E14681
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B33C1

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

Preview Lab → · Contrast checker → · Palette generator →

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