#8F3EB3#8F3EB3

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

Color values

HEX#8F3EB3
RGBrgb(143, 62, 179)
HSLhsl(282, 49%, 47%)
HSVhsv(282, 65%, 70%)
CMYKcmyk(20.1%, 65.4%, 0%, 29.8%)
CIE-LABlab(42.06, 52.89, -47.69)
CIE-LCHlch(42.06, 71.22, 317.96°)
OKLaboklab(52.35% 0.1284 -0.1342)
OKLCHoklch(52.35% 0.186 313.7)
XYZxyz(21.1856, 12.5402, 43.9436)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3EB3 #62B33E
analogous
#543EB3 #8F3EB3 #B33E9D
triadic
#8F3EB3 #B38F3E #3EB38F
tetradic
#8F3EB3 #B3543E #62B33E #3E9DB3
square
#8F3EB3 #B3543E #62B33E #3E9DB3
split-complementary
#8F3EB3 #9DB33E #3EB354
monochromatic
#461F58 #6B2E86 #8F3EB3 #AA65CA #C392D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F3EB3#FFFFFF#000000##FFFFFF
##8F3EB31.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)
#015FB7
Deuteranopia (green-blind)
#3865B0
Tritanopia (blue-blind)
#8C5573
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f3eb3;
/* rgb */ color: rgb(143, 62, 179);
/* oklch */ color: oklch(52.3% 0.186 313.7);
Tailwind
colors: {
  custom: {
    50: '#b379ca',
    500: '#8f3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #8f3eb3;
$custom-light: #b379ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3eb3",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 281.538,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5235,
    "c": 0.18567,
    "h": 313.7
  },
  "luminance": 0.1254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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