#8F2BA4#8F2BA4

#8F2BA4 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.196 H 320.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8F2BA4
RGBrgb(143, 43, 164)
HSLhsl(290, 58%, 41%)
HSVhsv(290, 74%, 64%)
CMYKcmyk(12.8%, 73.8%, 0%, 35.7%)
CIE-LABlab(38.29, 57.81, -44.83)
CIE-LCHlch(38.29, 73.15, 322.21°)
OKLaboklab(49.34% 0.1499 -0.1256)
OKLCHoklch(49.34% 0.196 320)
XYZxyz(18.8916, 10.2487, 36.0979)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BA4 #40A42B
analogous
#532BA4 #8F2BA4 #A42B7C
triadic
#8F2BA4 #A48F2B #2BA48F
tetradic
#8F2BA4 #A4532B #40A42B #2B7CA4
square
#8F2BA4 #A4532B #40A42B #2B7CA4
split-complementary
#8F2BA4 #7CA42B #2BA453
monochromatic
#3A1243 #651E74 #8F2BA4 #B43FCD #C770D9

Accessibility & contrast

On white

6.89
#8F2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8F2BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BA4
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BA4#FFFFFF#000000##FFFFFF
##8F2BA41.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#365EA1
Tritanopia (blue-blind)
#8F4365
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2ba4;
/* rgb */ color: rgb(143, 43, 164);
/* oklch */ color: oklch(49.3% 0.196 320.0);
Tailwind
colors: {
  custom: {
    50: '#b36fc0',
    500: '#8f2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ba4;
$custom-light: #b36fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ba4",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 289.587,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.19557,
    "h": 320
  },
  "luminance": 0.10248
}

Semantic roles & 50–950 ramp

primary
#8F2BA4
secondary
#79C16A
accent
#E24661
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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