#8F39D1#8F39D1

#8F39D1 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.9% C 0.222 H 305.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8F39D1
RGBrgb(143, 57, 209)
HSLhsl(274, 62%, 52%)
HSVhsv(274, 73%, 82%)
CMYKcmyk(31.6%, 72.7%, 0%, 18%)
CIE-LABlab(43.31, 61.66, -63.15)
CIE-LCHlch(43.31, 88.26, 314.31°)
OKLaboklab(53.89% 0.1302 -0.1795)
OKLCHoklch(53.89% 0.222 305.9)
XYZxyz(24.2969, 13.3696, 61.6098)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F39D1 #7BD139
analogous
#4339D1 #8F39D1 #D139C7
triadic
#8F39D1 #D18F39 #39D18F
tetradic
#8F39D1 #D14339 #7BD139 #39C7D1
square
#8F39D1 #D14339 #7BD139 #39C7D1
split-complementary
#8F39D1 #C7D139 #39D143
monochromatic
#4E1B75 #6F27A6 #8F39D1 #AB6BDD #C79CE8

Accessibility & contrast

On white

5.72
#8F39D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8F39D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F39D1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F39D1#FFFFFF#000000##FFFFFF
##8F39D11.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#835D82
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f39d1;
/* rgb */ color: rgb(143, 57, 209);
/* oklch */ color: oklch(53.9% 0.222 305.9);
Tailwind
colors: {
  custom: {
    50: '#b577e0',
    500: '#8f39d1',
    950: '#000000',
  },
}
SCSS
$custom: #8f39d1;
$custom-light: #b577e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f39d1",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 209
  },
  "hsl": {
    "h": 273.947,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53891,
    "c": 0.22176,
    "h": 305.9
  },
  "luminance": 0.13369
}

Semantic roles & 50–950 ramp

primary
#8F39D1
secondary
#AFD492
accent
#E54289
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F39D1

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

Preview Lab → · Contrast checker → · Palette generator →

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