#8F39B5#8F39B5

#8F39B5 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.194 H 313.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8F39B5
RGBrgb(143, 57, 181)
HSLhsl(282, 52%, 47%)
HSVhsv(282, 69%, 71%)
CMYKcmyk(21%, 68.5%, 0%, 29%)
CIE-LABlab(41.38, 55.57, -49.97)
CIE-LCHlch(41.38, 74.73, 318.04°)
OKLaboklab(51.9% 0.1339 -0.1408)
OKLCHoklch(51.9% 0.194 313.6)
XYZxyz(21.1299, 12.1027, 44.9301)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F39B5 #5FB539
analogous
#5139B5 #8F39B5 #B5399D
triadic
#8F39B5 #B58F39 #39B58F
tetradic
#8F39B5 #B55139 #5FB539 #399DB5
square
#8F39B5 #B55139 #5FB539 #399DB5
split-complementary
#8F39B5 #9DB539 #39B551
monochromatic
#451C58 #6A2A86 #8F39B5 #AB5FCD #C38DDB

Accessibility & contrast

On white

6.14
#8F39B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8F39B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F39B5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F39B5#FFFFFF#000000##FFFFFF
##8F39B51.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#3164B2
Tritanopia (blue-blind)
#8B5273
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f39b5;
/* rgb */ color: rgb(143, 57, 181);
/* oklch */ color: oklch(51.9% 0.194 313.6);
Tailwind
colors: {
  custom: {
    50: '#b476cc',
    500: '#8f39b5',
    950: '#000000',
  },
}
SCSS
$custom: #8f39b5;
$custom-light: #b476cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f39b5",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 281.613,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.519,
    "c": 0.19431,
    "h": 313.6
  },
  "luminance": 0.12102
}

Semantic roles & 50–950 ramp

primary
#8F39B5
secondary
#98C684
accent
#DC4C78
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8F39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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