#8F3DB8#8F3DB8

#8F3DB8 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.192 H 312.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8F3DB8
RGBrgb(143, 61, 184)
HSLhsl(280, 50%, 48%)
HSVhsv(280, 67%, 72%)
CMYKcmyk(22.3%, 66.8%, 0%, 27.8%)
CIE-LABlab(42.21, 54.42, -50.39)
CIE-LCHlch(42.21, 74.17, 317.20°)
OKLaboklab(52.56% 0.1292 -0.1421)
OKLCHoklch(52.56% 0.192 312.3)
XYZxyz(21.6466, 12.6384, 46.6373)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DB8 #66B83D
analogous
#513DB8 #8F3DB8 #B83DA3
triadic
#8F3DB8 #B88F3D #3DB88F
tetradic
#8F3DB8 #B8513D #66B83D #3DA3B8
square
#8F3DB8 #B8513D #66B83D #3DA3B8
split-complementary
#8F3DB8 #A3B83D #3DB851
monochromatic
#481F5C #6B2E8A #8F3DB8 #AA66CC #C494DB

Accessibility & contrast

On white

5.95
#8F3DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8F3DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DB8
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DB8#FFFFFF#000000##FFFFFF
##8F3DB81.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#3265B5
Tritanopia (blue-blind)
#8A5675
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f3db8;
/* rgb */ color: rgb(143, 61, 184);
/* oklch */ color: oklch(52.6% 0.192 312.3);
Tailwind
colors: {
  custom: {
    50: '#b378ce',
    500: '#8f3db8',
    950: '#000000',
  },
}
SCSS
$custom: #8f3db8;
$custom-light: #b378ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3db8",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 280,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5256,
    "c": 0.19205,
    "h": 312.3
  },
  "luminance": 0.12638
}

Semantic roles & 50–950 ramp

primary
#8F3DB8
secondary
#9EC78A
accent
#DA4E7D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F3DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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