#8F3286#8F3286

#8F3286 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.3% C 0.161 H 331.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8F3286
RGBrgb(143, 50, 134)
HSLhsl(306, 48%, 38%)
HSVhsv(306, 65%, 56%)
CMYKcmyk(0%, 65%, 6.3%, 43.9%)
CIE-LABlab(37.56, 49.58, -27.74)
CIE-LCHlch(37.56, 56.81, 330.78°)
OKLaboklab(48.27% 0.1418 -0.076)
OKLCHoklch(48.27% 0.161 331.8)
XYZxyz(16.7714, 9.8433, 23.5663)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3286 #328F3B
analogous
#69328F #8F3286 #8F3258
triadic
#8F3286 #868F32 #32868F
tetradic
#8F3286 #8F6932 #328F3B #32588F
square
#8F3286 #8F6932 #328F3B #32588F
split-complementary
#8F3286 #588F32 #328F69
monochromatic
#341231 #62225C #8F3286 #BC42B0 #CD6FC4

Accessibility & contrast

On white

7.07
#8F3286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8F3286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F3286
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3286#FFFFFF#000000##FFFFFF
##8F32861.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5089
Deuteranopia (green-blind)
#4D5D84
Tritanopia (blue-blind)
#953B57
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f3286;
/* rgb */ color: rgb(143, 50, 134);
/* oklch */ color: oklch(48.3% 0.161 331.8);
Tailwind
colors: {
  custom: {
    50: '#b371a9',
    500: '#8f3286',
    950: '#000000',
  },
}
SCSS
$custom: #8f3286;
$custom-light: #b371a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3286",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 305.806,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48266,
    "c": 0.16089,
    "h": 331.8
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#8F3286
secondary
#68B470
accent
#D85D50
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F3286

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

Preview Lab → · Contrast checker → · Palette generator →

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