#8F3FB3#8F3FB3

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

Color values

HEX#8F3FB3
RGBrgb(143, 63, 179)
HSLhsl(281, 48%, 47%)
HSVhsv(281, 65%, 70%)
CMYKcmyk(20.1%, 64.8%, 0%, 29.8%)
CIE-LABlab(42.23, 52.42, -47.42)
CIE-LCHlch(42.23, 70.69, 317.87°)
OKLaboklab(52.47% 0.1272 -0.1334)
OKLCHoklch(52.47% 0.184 313.6)
XYZxyz(21.2405, 12.6500, 43.9619)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FB3 #63B33F
analogous
#553FB3 #8F3FB3 #B33F9D
triadic
#8F3FB3 #B38F3F #3FB38F
tetradic
#8F3FB3 #B3553F #63B33F #3F9DB3
square
#8F3FB3 #B3553F #63B33F #3F9DB3
split-complementary
#8F3FB3 #9DB33F #3FB355
monochromatic
#471F58 #6B2F86 #8F3FB3 #AA66C9 #C393D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F3FB3#FFFFFF#000000##FFFFFF
##8F3FB31.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)
#065FB7
Deuteranopia (green-blind)
#3966B0
Tritanopia (blue-blind)
#8C5573
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f3fb3;
/* rgb */ color: rgb(143, 63, 179);
/* oklch */ color: oklch(52.5% 0.184 313.6);
Tailwind
colors: {
  custom: {
    50: '#b379ca',
    500: '#8f3fb3',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fb3;
$custom-light: #b379ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fb3",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 281.379,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52472,
    "c": 0.18429,
    "h": 313.6
  },
  "luminance": 0.12649
}

Semantic roles & 50–950 ramp

primary
#8F3FB3
secondary
#9CC489
accent
#D8507A
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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