#8F33B3#8F33B3

#8F33B3 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.200 H 314.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8F33B3
RGBrgb(143, 51, 179)
HSLhsl(283, 56%, 45%)
HSVhsv(283, 72%, 70%)
CMYKcmyk(20.1%, 71.5%, 0%, 29.8%)
CIE-LABlab(40.35, 57.68, -50.45)
CIE-LCHlch(40.35, 76.63, 318.83°)
OKLaboklab(51.12% 0.1405 -0.1422)
OKLCHoklch(51.12% 0.2 314.7)
XYZxyz(20.6469, 11.4627, 43.7640)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33B3 #57B333
analogous
#4F33B3 #8F33B3 #B33397
triadic
#8F33B3 #B38F33 #33B38F
tetradic
#8F33B3 #B34F33 #57B333 #3397B3
square
#8F33B3 #B34F33 #57B333 #3397B3
split-complementary
#8F33B3 #97B333 #33B34F
monochromatic
#431854 #692583 #8F33B3 #AC55CE #C384DC

Accessibility & contrast

On white

6.38
#8F33B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8F33B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33B3
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33B3#FFFFFF#000000##FFFFFF
##8F33B31.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#2D61B0
Tritanopia (blue-blind)
#8C4E70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f33b3;
/* rgb */ color: rgb(143, 51, 179);
/* oklch */ color: oklch(51.1% 0.200 314.7);
Tailwind
colors: {
  custom: {
    50: '#b473ca',
    500: '#8f33b3',
    950: '#000000',
  },
}
SCSS
$custom: #8f33b3;
$custom-light: #b473ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33b3",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 283.125,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51123,
    "c": 0.19984,
    "h": 314.7
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#8F33B3
secondary
#91C67C
accent
#DF4973
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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