#8F2BA8#8F2BA8

#8F2BA8 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.199 H 318.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8F2BA8
RGBrgb(143, 43, 168)
HSLhsl(288, 59%, 41%)
HSVhsv(288, 74%, 66%)
CMYKcmyk(14.9%, 74.4%, 0%, 34.1%)
CIE-LABlab(38.54, 58.57, -46.81)
CIE-LCHlch(38.54, 74.98, 321.37°)
OKLaboklab(49.61% 0.1495 -0.1314)
OKLCHoklch(49.61% 0.199 318.7)
XYZxyz(19.2585, 10.3955, 38.0303)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BA8 #44A82B
analogous
#512BA8 #8F2BA8 #A82B83
triadic
#8F2BA8 #A88F2B #2BA88F
tetradic
#8F2BA8 #A8512B #44A82B #2B83A8
square
#8F2BA8 #A8512B #44A82B #2B83A8
split-complementary
#8F2BA8 #83A82B #2BA851
monochromatic
#3C1247 #661F77 #8F2BA8 #B242CF #C672DB

Accessibility & contrast

On white

6.82
#8F2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8F2BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BA8
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BA8#FFFFFF#000000##FFFFFF
##8F2BA81.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#325EA5
Tritanopia (blue-blind)
#8F4567
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2ba8;
/* rgb */ color: rgb(143, 43, 168);
/* oklch */ color: oklch(49.6% 0.199 318.7);
Tailwind
colors: {
  custom: {
    50: '#b46fc2',
    500: '#8f2ba8',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ba8;
$custom-light: #b46fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ba8",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 288,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49607,
    "c": 0.19906,
    "h": 318.7
  },
  "luminance": 0.10395
}

Semantic roles & 50–950 ramp

primary
#8F2BA8
secondary
#7EC26C
accent
#E24565
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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