#8F3BD9#8F3BD9

#8F3BD9 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.7% C 0.227 H 303.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8F3BD9
RGBrgb(143, 59, 217)
HSLhsl(272, 68%, 54%)
HSVhsv(272, 73%, 85%)
CMYKcmyk(34.1%, 72.8%, 0%, 14.9%)
CIE-LABlab(44.20, 62.63, -66.31)
CIE-LCHlch(44.20, 91.21, 313.36°)
OKLaboklab(54.7% 0.1268 -0.1888)
OKLCHoklch(54.7% 0.227 303.9)
XYZxyz(25.4132, 13.9774, 66.9913)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BD9 #85D93B
analogous
#403BD9 #8F3BD9 #D93BD4
triadic
#8F3BD9 #D98F3B #3BD98F
tetradic
#8F3BD9 #D9403B #85D93B #3BD4D9
square
#8F3BD9 #D9403B #85D93B #3BD4D9
split-complementary
#8F3BD9 #D4D93B #3BD940
monochromatic
#501981 #7023B4 #8F3BD9 #AC6EE3 #CAA2ED

Accessibility & contrast

On white

5.53
#8F3BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8F3BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BD9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BD9#FFFFFF#000000##FFFFFF
##8F3BD91.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DE
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#806287
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f3bd9;
/* rgb */ color: rgb(143, 59, 217);
/* oklch */ color: oklch(54.7% 0.227 303.9);
Tailwind
colors: {
  custom: {
    50: '#b679e6',
    500: '#8f3bd9',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bd9;
$custom-light: #b679e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bd9",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 217
  },
  "hsl": {
    "h": 271.899,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.22746,
    "h": 303.9
  },
  "luminance": 0.13977
}

Semantic roles & 50–950 ramp

primary
#8F3BD9
secondary
#B6DA96
accent
#EA3D8E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F3BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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