#8F39D6#8F39D6

#8F39D6 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.3% C 0.227 H 304.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8F39D6
RGBrgb(143, 57, 214)
HSLhsl(273, 66%, 53%)
HSVhsv(273, 73%, 84%)
CMYKcmyk(33.2%, 73.4%, 0%, 16.1%)
CIE-LABlab(43.68, 62.78, -65.43)
CIE-LCHlch(43.68, 90.68, 313.82°)
OKLaboklab(54.27% 0.1292 -0.1862)
OKLCHoklch(54.27% 0.227 304.8)
XYZxyz(24.9257, 13.6211, 64.9213)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F39D6 #80D639
analogous
#4039D6 #8F39D6 #D639CE
triadic
#8F39D6 #D68F39 #39D68F
tetradic
#8F39D6 #D64039 #80D639 #39CED6
square
#8F39D6 #D64039 #80D639 #39CED6
split-complementary
#8F39D6 #CED639 #39D640
monochromatic
#4F197B #6F24AE #8F39D6 #AC6CE0 #C89EEB

Accessibility & contrast

On white

5.64
#8F39D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8F39D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F39D6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F39D6#FFFFFF#000000##FFFFFF
##8F39D61.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#826085
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f39d6;
/* rgb */ color: rgb(143, 57, 214);
/* oklch */ color: oklch(54.3% 0.227 304.8);
Tailwind
colors: {
  custom: {
    50: '#b677e4',
    500: '#8f39d6',
    950: '#000000',
  },
}
SCSS
$custom: #8f39d6;
$custom-light: #b677e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f39d6",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 214
  },
  "hsl": {
    "h": 272.866,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54268,
    "c": 0.22667,
    "h": 304.8
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

primary
#8F39D6
secondary
#B2D794
accent
#E93F8C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F39D6

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

Preview Lab → · Contrast checker → · Palette generator →

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