#8F33B8#8F33B8

#8F33B8 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.5% C 0.205 H 313.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8F33B8
RGBrgb(143, 51, 184)
HSLhsl(282, 57%, 46%)
HSVhsv(282, 72%, 72%)
CMYKcmyk(22.3%, 72.3%, 0%, 27.8%)
CIE-LABlab(40.68, 58.72, -52.85)
CIE-LCHlch(40.68, 79.00, 318.01°)
OKLaboklab(51.47% 0.1399 -0.1492)
OKLCHoklch(51.47% 0.205 313.1)
XYZxyz(21.1617, 11.6686, 46.4756)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33B8 #5CB833
analogous
#4C33B8 #8F33B8 #B8339E
triadic
#8F33B8 #B88F33 #33B88F
tetradic
#8F33B8 #B84C33 #5CB833 #339EB8
square
#8F33B8 #B84C33 #5CB833 #339EB8
split-complementary
#8F33B8 #9EB833 #33B84C
monochromatic
#451858 #6A2688 #8F33B8 #AB58D1 #C388DE

Accessibility & contrast

On white

6.30
#8F33B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8F33B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33B8
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33B8#FFFFFF#000000##FFFFFF
##8F33B81.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#2762B5
Tritanopia (blue-blind)
#8B5073
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f33b8;
/* rgb */ color: rgb(143, 51, 184);
/* oklch */ color: oklch(51.5% 0.205 313.1);
Tailwind
colors: {
  custom: {
    50: '#b473ce',
    500: '#8f33b8',
    950: '#000000',
  },
}
SCSS
$custom: #8f33b8;
$custom-light: #b473ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33b8",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 281.504,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51468,
    "c": 0.20453,
    "h": 313.1
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

primary
#8F33B8
secondary
#95C87F
accent
#E04877
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #8F33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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