#8F33BB#8F33BB

#8F33BB is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.207 H 312.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8F33BB
RGBrgb(143, 51, 187)
HSLhsl(281, 57%, 47%)
HSVhsv(281, 73%, 73%)
CMYKcmyk(23.5%, 72.7%, 0%, 26.7%)
CIE-LABlab(40.89, 59.34, -54.29)
CIE-LCHlch(40.89, 80.43, 317.55°)
OKLaboklab(51.68% 0.1395 -0.1534)
OKLCHoklch(51.68% 0.207 312.3)
XYZxyz(21.4795, 11.7958, 48.1494)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33BB #5FBB33
analogous
#4B33BB #8F33BB #BB33A3
triadic
#8F33BB #BB8F33 #33BB8F
tetradic
#8F33BB #BB4B33 #5FBB33 #33A3BB
square
#8F33BB #BB4B33 #5FBB33 #33A3BB
split-complementary
#8F33BB #A3BB33 #33BB4B
monochromatic
#45195B #6A268B #8F33BB #AB59D2 #C389DF

Accessibility & contrast

On white

6.25
#8F33BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8F33BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33BB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33BB#FFFFFF#000000##FFFFFF
##8F33BB1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#2262B8
Tritanopia (blue-blind)
#8A5174
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f33bb;
/* rgb */ color: rgb(143, 51, 187);
/* oklch */ color: oklch(51.7% 0.207 312.3);
Tailwind
colors: {
  custom: {
    50: '#b473d0',
    500: '#8f33bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f33bb;
$custom-light: #b473d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33bb",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 280.588,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51679,
    "c": 0.20735,
    "h": 312.3
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#8F33BB
secondary
#98C981
accent
#E04779
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #8F33BB

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

Preview Lab → · Contrast checker → · Palette generator →

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