#8F39B3#8F39B3

#8F39B3 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.192 H 314.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8F39B3
RGBrgb(143, 57, 179)
HSLhsl(282, 52%, 46%)
HSVhsv(282, 68%, 70%)
CMYKcmyk(20.1%, 68.2%, 0%, 29.8%)
CIE-LABlab(41.25, 55.15, -49.00)
CIE-LCHlch(41.25, 73.77, 318.38°)
OKLaboklab(51.77% 0.1341 -0.1379)
OKLCHoklch(51.77% 0.192 314.2)
XYZxyz(20.9261, 12.0212, 43.8571)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F39B3 #5DB339
analogous
#5239B3 #8F39B3 #B3399A
triadic
#8F39B3 #B38F39 #39B38F
tetradic
#8F39B3 #B35239 #5DB339 #399AB3
square
#8F39B3 #B35239 #5DB339 #399AB3
split-complementary
#8F39B3 #9AB339 #39B352
monochromatic
#451B56 #6A2A85 #8F39B3 #AB5ECC #C38CDA

Accessibility & contrast

On white

6.17
#8F39B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8F39B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F39B3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F39B3#FFFFFF#000000##FFFFFF
##8F39B31.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#3363B0
Tritanopia (blue-blind)
#8C5171
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f39b3;
/* rgb */ color: rgb(143, 57, 179);
/* oklch */ color: oklch(51.8% 0.192 314.2);
Tailwind
colors: {
  custom: {
    50: '#b376ca',
    500: '#8f39b3',
    950: '#000000',
  },
}
SCSS
$custom: #8f39b3;
$custom-light: #b376ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f39b3",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 282.295,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51766,
    "c": 0.19236,
    "h": 314.2
  },
  "luminance": 0.12021
}

Semantic roles & 50–950 ramp

primary
#8F39B3
secondary
#96C583
accent
#DB4D77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F39B3

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

Preview Lab → · Contrast checker → · Palette generator →

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