#8F34B5#8F34B5

#8F34B5 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.201 H 314.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8F34B5
RGBrgb(143, 52, 181)
HSLhsl(282, 55%, 46%)
HSVhsv(282, 71%, 71%)
CMYKcmyk(21%, 71.3%, 0%, 29%)
CIE-LABlab(40.63, 57.69, -51.18)
CIE-LCHlch(40.63, 77.12, 318.42°)
OKLaboklab(51.36% 0.1392 -0.1443)
OKLCHoklch(51.36% 0.201 314)
XYZxyz(20.8948, 11.6325, 44.8517)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34B5 #5AB534
analogous
#4F34B5 #8F34B5 #B5349A
triadic
#8F34B5 #B58F34 #34B58F
tetradic
#8F34B5 #B54F34 #5AB534 #349AB5
square
#8F34B5 #B54F34 #5AB534 #349AB5
split-complementary
#8F34B5 #9AB534 #34B54F
monochromatic
#441956 #692685 #8F34B5 #AC57CF #C387DC

Accessibility & contrast

On white

6.31
#8F34B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F34B5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34B5#FFFFFF#000000##FFFFFF
##8F34B51.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#2C62B2
Tritanopia (blue-blind)
#8B4F71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f34b5;
/* rgb */ color: rgb(143, 52, 181);
/* oklch */ color: oklch(51.4% 0.201 314.0);
Tailwind
colors: {
  custom: {
    50: '#b474cc',
    500: '#8f34b5',
    950: '#000000',
  },
}
SCSS
$custom: #8f34b5;
$custom-light: #b474cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34b5",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 282.326,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51362,
    "c": 0.20052,
    "h": 314
  },
  "luminance": 0.11632
}

Semantic roles & 50–950 ramp

primary
#8F34B5
secondary
#94C67F
accent
#DF4975
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8F34B5

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

Preview Lab → · Contrast checker → · Palette generator →

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