#8F3BD6#8F3BD6

#8F3BD6 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.5% C 0.224 H 304.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8F3BD6
RGBrgb(143, 59, 214)
HSLhsl(273, 65%, 54%)
HSVhsv(273, 72%, 84%)
CMYKcmyk(33.2%, 72.4%, 0%, 16.1%)
CIE-LABlab(43.98, 61.95, -64.95)
CIE-LCHlch(43.98, 89.76, 313.64°)
OKLaboklab(54.47% 0.1274 -0.1848)
OKLCHoklch(54.47% 0.224 304.6)
XYZxyz(25.0265, 13.8227, 64.9549)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BD6 #82D63B
analogous
#413BD6 #8F3BD6 #D63BD0
triadic
#8F3BD6 #D68F3B #3BD68F
tetradic
#8F3BD6 #D6413B #82D63B #3BD0D6
square
#8F3BD6 #D6413B #82D63B #3BD0D6
split-complementary
#8F3BD6 #D0D63B #3BD641
monochromatic
#4F1A7D #7025AF #8F3BD6 #AC6EE1 #C9A0EB

Accessibility & contrast

On white

5.58
#8F3BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8F3BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BD6
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BD6#FFFFFF#000000##FFFFFF
##8F3BD61.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DA
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#816185
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f3bd6;
/* rgb */ color: rgb(143, 59, 214);
/* oklch */ color: oklch(54.5% 0.224 304.6);
Tailwind
colors: {
  custom: {
    50: '#b578e4',
    500: '#8f3bd6',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bd6;
$custom-light: #b578e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bd6",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 272.516,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54475,
    "c": 0.22448,
    "h": 304.6
  },
  "luminance": 0.13823
}

Semantic roles & 50–950 ramp

primary
#8F3BD6
secondary
#B4D895
accent
#E83F8D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F3BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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