#8C33BB#8C33BB

#8C33BB is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.3% C 0.206 H 311.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8C33BB
RGBrgb(140, 51, 187)
HSLhsl(279, 57%, 47%)
HSVhsv(279, 73%, 73%)
CMYKcmyk(25.1%, 72.7%, 0%, 26.7%)
CIE-LABlab(40.46, 58.74, -55.00)
CIE-LCHlch(40.46, 80.47, 316.89°)
OKLaboklab(51.29% 0.1356 -0.1556)
OKLCHoklch(51.29% 0.206 311.1)
XYZxyz(20.9670, 11.5315, 48.1254)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C33BB #62BB33
analogous
#4833BB #8C33BB #BB33A6
triadic
#8C33BB #BB8C33 #33BB8C
tetradic
#8C33BB #BB4833 #62BB33 #33A6BB
square
#8C33BB #BB4833 #62BB33 #33A6BB
split-complementary
#8C33BB #A6BB33 #33BB48
monochromatic
#44195B #68268B #8C33BB #A859D2 #C189DF

Accessibility & contrast

On white

6.35
#8C33BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8C33BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C33BB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C33BB#FFFFFF#000000##FFFFFF
##8C33BB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#1C61B8
Tritanopia (blue-blind)
#865274
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8c33bb;
/* rgb */ color: rgb(140, 51, 187);
/* oklch */ color: oklch(51.3% 0.206 311.1);
Tailwind
colors: {
  custom: {
    50: '#b273d0',
    500: '#8c33bb',
    950: '#000000',
  },
}
SCSS
$custom: #8c33bb;
$custom-light: #b273d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8c33bb",
  "rgb": {
    "r": 140,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 279.265,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51286,
    "c": 0.2064,
    "h": 311.1
  },
  "luminance": 0.11531
}

Semantic roles & 50–950 ramp

primary
#8C33BB
secondary
#9AC981
accent
#E0477C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8C33BB

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

Preview Lab → · Contrast checker → · Palette generator →

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