#8F39B7#8F39B7

#8F39B7 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.0% C 0.196 H 313.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8F39B7
RGBrgb(143, 57, 183)
HSLhsl(281, 53%, 47%)
HSVhsv(281, 69%, 72%)
CMYKcmyk(21.9%, 68.9%, 0%, 28.2%)
CIE-LABlab(41.51, 55.99, -50.94)
CIE-LCHlch(41.51, 75.70, 317.71°)
OKLaboklab(52.04% 0.1337 -0.1436)
OKLCHoklch(52.04% 0.196 313)
XYZxyz(21.3366, 12.1854, 46.0186)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F39B7 #61B739
analogous
#5039B7 #8F39B7 #B739A0
triadic
#8F39B7 #B78F39 #39B78F
tetradic
#8F39B7 #B75039 #61B739 #39A0B7
square
#8F39B7 #B75039 #61B739 #39A0B7
split-complementary
#8F39B7 #A0B739 #39B750
monochromatic
#461C5A #6B2A88 #8F39B7 #AB60CD #C38EDC

Accessibility & contrast

On white

6.11
#8F39B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8F39B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F39B7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F39B7#FFFFFF#000000##FFFFFF
##8F39B71.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#2F64B4
Tritanopia (blue-blind)
#8B5374
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f39b7;
/* rgb */ color: rgb(143, 57, 183);
/* oklch */ color: oklch(52.0% 0.196 313.0);
Tailwind
colors: {
  custom: {
    50: '#b476cd',
    500: '#8f39b7',
    950: '#000000',
  },
}
SCSS
$custom: #8f39b7;
$custom-light: #b476cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f39b7",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 280.952,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52035,
    "c": 0.19626,
    "h": 313
  },
  "luminance": 0.12185
}

Semantic roles & 50–950 ramp

primary
#8F39B7
secondary
#9AC785
accent
#DC4C7A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8F39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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