#8F39BA#8F39BA

#8F39BA is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.199 H 312.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8F39BA
RGBrgb(143, 57, 186)
HSLhsl(280, 53%, 48%)
HSVhsv(280, 69%, 73%)
CMYKcmyk(23.1%, 69.4%, 0%, 27.1%)
CIE-LABlab(41.71, 56.63, -52.38)
CIE-LCHlch(41.71, 77.14, 317.23°)
OKLaboklab(52.24% 0.1335 -0.1479)
OKLCHoklch(52.24% 0.199 312.1)
XYZxyz(21.6521, 12.3116, 47.6806)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F39BA #64BA39
analogous
#4F39BA #8F39BA #BA39A4
triadic
#8F39BA #BA8F39 #39BA8F
tetradic
#8F39BA #BA4F39 #64BA39 #39A4BA
square
#8F39BA #BA4F39 #64BA39 #39A4BA
split-complementary
#8F39BA #A4BA39 #39BA4F
monochromatic
#471C5C #6B2B8B #8F39BA #AA61CF #C390DD

Accessibility & contrast

On white

6.07
#8F39BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8F39BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F39BA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F39BA#FFFFFF#000000##FFFFFF
##8F39BA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#2B64B7
Tritanopia (blue-blind)
#8A5475
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f39ba;
/* rgb */ color: rgb(143, 57, 186);
/* oklch */ color: oklch(52.2% 0.199 312.1);
Tailwind
colors: {
  custom: {
    50: '#b476cf',
    500: '#8f39ba',
    950: '#000000',
  },
}
SCSS
$custom: #8f39ba;
$custom-light: #b476cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f39ba",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 280,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.19919,
    "h": 312.1
  },
  "luminance": 0.12311
}

Semantic roles & 50–950 ramp

primary
#8F39BA
secondary
#9DC887
accent
#DC4B7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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