#8F39A2#8F39A2

#8F39A2 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.7% C 0.176 H 319.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8F39A2
RGBrgb(143, 57, 162)
HSLhsl(289, 48%, 43%)
HSVhsv(289, 65%, 64%)
CMYKcmyk(11.7%, 64.8%, 0%, 36.5%)
CIE-LABlab(40.21, 51.68, -40.56)
CIE-LCHlch(40.21, 65.69, 321.87°)
OKLaboklab(50.68% 0.1347 -0.1133)
OKLCHoklch(50.68% 0.176 319.9)
XYZxyz(19.3116, 11.3754, 35.3539)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F39A2 #4CA239
analogous
#5A39A2 #8F39A2 #A23980
triadic
#8F39A2 #A28F39 #39A28F
tetradic
#8F39A2 #A25A39 #4CA239 #3980A2
square
#8F39A2 #A25A39 #4CA239 #3980A2
split-complementary
#8F39A2 #80A239 #39A25A
monochromatic
#3F1947 #672975 #8F39A2 #AF55C3 #C482D3

Accessibility & contrast

On white

6.41
#8F39A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8F39A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F39A2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F39A2#FFFFFF#000000##FFFFFF
##8F39A21.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B59A5
Deuteranopia (green-blind)
#42629F
Tritanopia (blue-blind)
#904B68
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f39a2;
/* rgb */ color: rgb(143, 57, 162);
/* oklch */ color: oklch(50.7% 0.176 319.9);
Tailwind
colors: {
  custom: {
    50: '#b376be',
    500: '#8f39a2',
    950: '#000000',
  },
}
SCSS
$custom: #8f39a2;
$custom-light: #b376be;
$custom-dark: #000000;
JSON
{
  "hex": "#8f39a2",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 289.143,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5068,
    "c": 0.17597,
    "h": 319.9
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#8F39A2
secondary
#86BD7A
accent
#D85069
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F39A2

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

Preview Lab → · Contrast checker → · Palette generator →

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