#8F39B2#8F39B2

#8F39B2 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.7% C 0.191 H 314.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8F39B2
RGBrgb(143, 57, 178)
HSLhsl(283, 51%, 46%)
HSVhsv(283, 68%, 70%)
CMYKcmyk(19.7%, 68%, 0%, 30.2%)
CIE-LABlab(41.19, 54.94, -48.51)
CIE-LCHlch(41.19, 73.29, 318.56°)
OKLaboklab(51.7% 0.1341 -0.1365)
OKLCHoklch(51.7% 0.191 314.5)
XYZxyz(20.8254, 11.9809, 43.3264)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F39B2 #5CB239
analogous
#5339B2 #8F39B2 #B23998
triadic
#8F39B2 #B28F39 #39B28F
tetradic
#8F39B2 #B25339 #5CB239 #3998B2
square
#8F39B2 #B25339 #5CB239 #3998B2
split-complementary
#8F39B2 #98B239 #39B253
monochromatic
#451B55 #6A2A84 #8F39B2 #AB5DCB #C38BDA

Accessibility & contrast

On white

6.18
#8F39B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F39B2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F39B2#FFFFFF#000000##FFFFFF
##8F39B21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3463AF
Tritanopia (blue-blind)
#8C5171
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f39b2;
/* rgb */ color: rgb(143, 57, 178);
/* oklch */ color: oklch(51.7% 0.191 314.5);
Tailwind
colors: {
  custom: {
    50: '#b376ca',
    500: '#8f39b2',
    950: '#000000',
  },
}
SCSS
$custom: #8f39b2;
$custom-light: #b376ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f39b2",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 282.645,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.517,
    "c": 0.19139,
    "h": 314.5
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#8F39B2
secondary
#95C482
accent
#DB4D76
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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