#8F31BE#8F31BE

#8F31BE is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.212 H 311.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8F31BE
RGBrgb(143, 49, 190)
HSLhsl(280, 59%, 47%)
HSVhsv(280, 74%, 75%)
CMYKcmyk(24.7%, 74.2%, 0%, 25.5%)
CIE-LABlab(40.82, 60.75, -56.15)
CIE-LCHlch(40.82, 82.73, 317.25°)
OKLaboklab(51.7% 0.1409 -0.1589)
OKLCHoklch(51.7% 0.212 311.6)
XYZxyz(21.7185, 11.7545, 49.8300)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F31BE #60BE31
analogous
#4931BE #8F31BE #BE31A7
triadic
#8F31BE #BE8F31 #31BE8F
tetradic
#8F31BE #BE4931 #60BE31 #31A7BE
square
#8F31BE #BE4931 #60BE31 #31A7BE
split-complementary
#8F31BE #A7BE31 #31BE49
monochromatic
#46185D #6A248D #8F31BE #AB58D4 #C389E1

Accessibility & contrast

On white

6.27
#8F31BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8F31BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F31BE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F31BE#FFFFFF#000000##FFFFFF
##8F31BE1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#1962BB
Tritanopia (blue-blind)
#895175
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f31be;
/* rgb */ color: rgb(143, 49, 190);
/* oklch */ color: oklch(51.7% 0.212 311.6);
Tailwind
colors: {
  custom: {
    50: '#b473d2',
    500: '#8f31be',
    950: '#000000',
  },
}
SCSS
$custom: #8f31be;
$custom-light: #b473d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f31be",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 280,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51698,
    "c": 0.2124,
    "h": 311.6
  },
  "luminance": 0.11754
}

Semantic roles & 50–950 ramp

primary
#8F31BE
secondary
#99CA80
accent
#E2467A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F31BE

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

Preview Lab → · Contrast checker → · Palette generator →

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