#8F34AF#8F34AF

#8F34AF is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.195 H 315.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8F34AF
RGBrgb(143, 52, 175)
HSLhsl(284, 54%, 45%)
HSVhsv(284, 70%, 69%)
CMYKcmyk(18.3%, 70.3%, 0%, 31.4%)
CIE-LABlab(40.23, 56.46, -48.26)
CIE-LCHlch(40.23, 74.28, 319.47°)
OKLaboklab(50.96% 0.1398 -0.1358)
OKLCHoklch(50.96% 0.195 315.8)
XYZxyz(20.2923, 11.3915, 41.6790)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34AF #54AF34
analogous
#5134AF #8F34AF #AF3492
triadic
#8F34AF #AF8F34 #34AF8F
tetradic
#8F34AF #AF5134 #54AF34 #3492AF
square
#8F34AF #AF5134 #54AF34 #3492AF
split-complementary
#8F34AF #92AF34 #34AF51
monochromatic
#421851 #682680 #8F34AF #AD54CC #C483DA

Accessibility & contrast

On white

6.41
#8F34AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F34AF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34AF#FFFFFF#000000##FFFFFF
##8F34AF1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3361AC
Tritanopia (blue-blind)
#8D4D6E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f34af;
/* rgb */ color: rgb(143, 52, 175);
/* oklch */ color: oklch(51.0% 0.195 315.8);
Tailwind
colors: {
  custom: {
    50: '#b373c7',
    500: '#8f34af',
    950: '#000000',
  },
}
SCSS
$custom: #8f34af;
$custom-light: #b373c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34af",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 284.39,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50956,
    "c": 0.19487,
    "h": 315.8
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#8F34AF
secondary
#8EC47B
accent
#DE4A71
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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