#8F3CB8#8F3CB8

#8F3CB8 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.4% C 0.193 H 312.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8F3CB8
RGBrgb(143, 60, 184)
HSLhsl(280, 51%, 48%)
HSVhsv(280, 67%, 72%)
CMYKcmyk(22.3%, 67.4%, 0%, 27.8%)
CIE-LABlab(42.05, 54.88, -50.65)
CIE-LCHlch(42.05, 74.68, 317.29°)
OKLaboklab(52.44% 0.1304 -0.1428)
OKLCHoklch(52.44% 0.193 312.4)
XYZxyz(21.5937, 12.5326, 46.6196)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CB8 #65B83C
analogous
#513CB8 #8F3CB8 #B83CA3
triadic
#8F3CB8 #B88F3C #3CB88F
tetradic
#8F3CB8 #B8513C #65B83C #3CA3B8
square
#8F3CB8 #B8513C #65B83C #3CA3B8
split-complementary
#8F3CB8 #A3B83C #3CB851
monochromatic
#471E5C #6B2D8A #8F3CB8 #AA65CD #C493DC

Accessibility & contrast

On white

5.99
#8F3CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8F3CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CB8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CB8#FFFFFF#000000##FFFFFF
##8F3CB81.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#3165B5
Tritanopia (blue-blind)
#8A5575
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f3cb8;
/* rgb */ color: rgb(143, 60, 184);
/* oklch */ color: oklch(52.4% 0.193 312.4);
Tailwind
colors: {
  custom: {
    50: '#b478ce',
    500: '#8f3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cb8;
$custom-light: #b478ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cb8",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 280.161,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52443,
    "c": 0.19337,
    "h": 312.4
  },
  "luminance": 0.12532
}

Semantic roles & 50–950 ramp

primary
#8F3CB8
secondary
#9DC789
accent
#DA4D7C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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