#8F2BA6#8F2BA6

#8F2BA6 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.197 H 319.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8F2BA6
RGBrgb(143, 43, 166)
HSLhsl(289, 59%, 41%)
HSVhsv(289, 74%, 65%)
CMYKcmyk(13.9%, 74.1%, 0%, 34.9%)
CIE-LABlab(38.41, 58.19, -45.82)
CIE-LCHlch(38.41, 74.06, 321.78°)
OKLaboklab(49.47% 0.1497 -0.1285)
OKLCHoklch(49.47% 0.197 319.3)
XYZxyz(19.0736, 10.3215, 37.0566)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BA6 #42A62B
analogous
#512BA6 #8F2BA6 #A62B7F
triadic
#8F2BA6 #A68F2B #2BA68F
tetradic
#8F2BA6 #A6512B #42A62B #2B7FA6
square
#8F2BA6 #A6512B #42A62B #2B7FA6
split-complementary
#8F2BA6 #7FA62B #2BA651
monochromatic
#3B1245 #651E75 #8F2BA6 #B341CE #C771DA

Accessibility & contrast

On white

6.85
#8F2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8F2BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BA6
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BA6#FFFFFF#000000##FFFFFF
##8F2BA61.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#345EA3
Tritanopia (blue-blind)
#8F4466
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2ba6;
/* rgb */ color: rgb(143, 43, 166);
/* oklch */ color: oklch(49.5% 0.197 319.3);
Tailwind
colors: {
  custom: {
    50: '#b46fc1',
    500: '#8f2ba6',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ba6;
$custom-light: #b46fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ba6",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 288.78,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49474,
    "c": 0.19732,
    "h": 319.3
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#8F2BA6
secondary
#7BC16B
accent
#E24663
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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