#8F3CB5#8F3CB5

#8F3CB5 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.2% C 0.190 H 313.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8F3CB5
RGBrgb(143, 60, 181)
HSLhsl(281, 50%, 47%)
HSVhsv(281, 67%, 71%)
CMYKcmyk(21%, 66.9%, 0%, 29%)
CIE-LABlab(41.86, 54.23, -49.20)
CIE-LCHlch(41.86, 73.23, 317.79°)
OKLaboklab(52.24% 0.1306 -0.1386)
OKLCHoklch(52.24% 0.19 313.3)
XYZxyz(21.2826, 12.4082, 44.9810)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CB5 #62B53C
analogous
#533CB5 #8F3CB5 #B53C9F
triadic
#8F3CB5 #B58F3C #3CB58F
tetradic
#8F3CB5 #B5533C #62B53C #3C9FB5
square
#8F3CB5 #B5533C #62B53C #3C9FB5
split-complementary
#8F3CB5 #9FB53C #3CB553
monochromatic
#461E59 #6B2D87 #8F3CB5 #AB63CB #C391DB

Accessibility & contrast

On white

6.03
#8F3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8F3CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CB5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CB5#FFFFFF#000000##FFFFFF
##8F3CB51.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#3465B2
Tritanopia (blue-blind)
#8B5473
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f3cb5;
/* rgb */ color: rgb(143, 60, 181);
/* oklch */ color: oklch(52.2% 0.190 313.3);
Tailwind
colors: {
  custom: {
    50: '#b378cc',
    500: '#8f3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cb5;
$custom-light: #b378cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cb5",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 281.157,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52243,
    "c": 0.19038,
    "h": 313.3
  },
  "luminance": 0.12408
}

Semantic roles & 50–950 ramp

primary
#8F3CB5
secondary
#9BC687
accent
#DA4E7A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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