#8F33B2#8F33B2

#8F33B2 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.199 H 315.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8F33B2
RGBrgb(143, 51, 178)
HSLhsl(283, 55%, 45%)
HSVhsv(283, 71%, 70%)
CMYKcmyk(19.7%, 71.3%, 0%, 30.2%)
CIE-LABlab(40.28, 57.48, -49.96)
CIE-LCHlch(40.28, 76.16, 319.00°)
OKLaboklab(51.05% 0.1406 -0.1407)
OKLCHoklch(51.05% 0.199 315)
XYZxyz(20.5461, 11.4224, 43.2333)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33B2 #56B233
analogous
#5033B2 #8F33B2 #B23395
triadic
#8F33B2 #B28F33 #33B28F
tetradic
#8F33B2 #B25033 #56B233 #3395B2
square
#8F33B2 #B25033 #56B233 #3395B2
split-complementary
#8F33B2 #95B233 #33B250
monochromatic
#431853 #692582 #8F33B2 #AC54CE #C384DC

Accessibility & contrast

On white

6.39
#8F33B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8F33B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33B2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33B2#FFFFFF#000000##FFFFFF
##8F33B21.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#2F61AF
Tritanopia (blue-blind)
#8C4D6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f33b2;
/* rgb */ color: rgb(143, 51, 178);
/* oklch */ color: oklch(51.1% 0.199 315.0);
Tailwind
colors: {
  custom: {
    50: '#b473ca',
    500: '#8f33b2',
    950: '#000000',
  },
}
SCSS
$custom: #8f33b2;
$custom-light: #b473ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33b2",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 283.465,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51054,
    "c": 0.1989,
    "h": 315
  },
  "luminance": 0.11422
}

Semantic roles & 50–950 ramp

primary
#8F33B2
secondary
#90C57C
accent
#DF4972
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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