#8F34B9#8F34B9

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

Color values

HEX#8F34B9
RGBrgb(143, 52, 185)
HSLhsl(281, 56%, 46%)
HSVhsv(281, 72%, 73%)
CMYKcmyk(22.7%, 71.9%, 0%, 27.5%)
CIE-LABlab(40.89, 58.52, -53.10)
CIE-LCHlch(40.89, 79.02, 317.78°)
OKLaboklab(51.64% 0.1387 -0.15)
OKLCHoklch(51.64% 0.204 312.8)
XYZxyz(21.3111, 11.7990, 47.0444)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34B9 #5EB934
analogous
#4D34B9 #8F34B9 #B934A1
triadic
#8F34B9 #B98F34 #34B98F
tetradic
#8F34B9 #B94D34 #5EB934 #34A1B9
square
#8F34B9 #B94D34 #5EB934 #34A1B9
split-complementary
#8F34B9 #A1B934 #34B94D
monochromatic
#451959 #6A2789 #8F34B9 #AB5AD1 #C389DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F34B9#FFFFFF#000000##FFFFFF
##8F34B91.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)
#005CBD
Deuteranopia (green-blind)
#2762B6
Tritanopia (blue-blind)
#8A5173
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f34b9;
/* rgb */ color: rgb(143, 52, 185);
/* oklch */ color: oklch(51.6% 0.204 312.8);
Tailwind
colors: {
  custom: {
    50: '#b474cf',
    500: '#8f34b9',
    950: '#000000',
  },
}
SCSS
$custom: #8f34b9;
$custom-light: #b474cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34b9",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 281.053,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51639,
    "c": 0.2043,
    "h": 312.8
  },
  "luminance": 0.11798
}

Semantic roles & 50–950 ramp

primary
#8F34B9
secondary
#97C881
accent
#DF4878
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #8F34B9

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

Preview Lab → · Contrast checker → · Palette generator →

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