#8F3282#8F3282

#8F3282 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.1% C 0.158 H 333.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8F3282
RGBrgb(143, 50, 130)
HSLhsl(308, 48%, 38%)
HSVhsv(308, 65%, 56%)
CMYKcmyk(0%, 65%, 9.1%, 43.9%)
CIE-LABlab(37.36, 48.91, -25.58)
CIE-LCHlch(37.36, 55.19, 332.39°)
OKLaboklab(48.06% 0.1413 -0.0699)
OKLCHoklch(48.06% 0.158 333.7)
XYZxyz(16.4976, 9.7338, 22.1247)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3282 #328F3F
analogous
#6D328F #8F3282 #8F3253
triadic
#8F3282 #828F32 #32828F
tetradic
#8F3282 #8F6D32 #328F3F #32538F
square
#8F3282 #8F6D32 #328F3F #32538F
split-complementary
#8F3282 #538F32 #328F6D
monochromatic
#341230 #622259 #8F3282 #BC42AB #CD6FBF

Accessibility & contrast

On white

7.13
#8F3282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8F3282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F3282
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3282#FFFFFF#000000##FFFFFF
##8F32821.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F84
Deuteranopia (green-blind)
#4F5D80
Tritanopia (blue-blind)
#953955
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f3282;
/* rgb */ color: rgb(143, 50, 130);
/* oklch */ color: oklch(48.1% 0.158 333.7);
Tailwind
colors: {
  custom: {
    50: '#b371a6',
    500: '#8f3282',
    950: '#000000',
  },
}
SCSS
$custom: #8f3282;
$custom-light: #b371a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3282",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 308.387,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48056,
    "c": 0.15764,
    "h": 333.7
  },
  "luminance": 0.09733
}

Semantic roles & 50–950 ramp

primary
#8F3282
secondary
#68B473
accent
#D86350
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F3282

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

Preview Lab → · Contrast checker → · Palette generator →

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