#8F3CB7#8F3CB7

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

Color values

HEX#8F3CB7
RGBrgb(143, 60, 183)
HSLhsl(280, 51%, 48%)
HSVhsv(280, 67%, 72%)
CMYKcmyk(21.9%, 67.2%, 0%, 28.2%)
CIE-LABlab(41.99, 54.66, -50.17)
CIE-LCHlch(41.99, 74.20, 317.45°)
OKLaboklab(52.38% 0.1304 -0.1414)
OKLCHoklch(52.38% 0.192 312.7)
XYZxyz(21.4893, 12.4909, 46.0695)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CB7 #64B73C
analogous
#523CB7 #8F3CB7 #B73CA1
triadic
#8F3CB7 #B78F3C #3CB78F
tetradic
#8F3CB7 #B7523C #64B73C #3CA1B7
square
#8F3CB7 #B7523C #64B73C #3CA1B7
split-complementary
#8F3CB7 #A1B73C #3CB752
monochromatic
#471E5B #6B2D89 #8F3CB7 #AA64CC #C392DB

Accessibility & contrast

On white

6.00
#8F3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8F3CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CB7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CB7#FFFFFF#000000##FFFFFF
##8F3CB71.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#3265B4
Tritanopia (blue-blind)
#8B5575
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f3cb7;
/* rgb */ color: rgb(143, 60, 183);
/* oklch */ color: oklch(52.4% 0.192 312.7);
Tailwind
colors: {
  custom: {
    50: '#b378cd',
    500: '#8f3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cb7;
$custom-light: #b378cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cb7",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 280.488,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52376,
    "c": 0.19237,
    "h": 312.7
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#8F3CB7
secondary
#9DC688
accent
#DA4E7B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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