#8F26BA#8F26BA

#8F26BA is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.5% C 0.220 H 313.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8F26BA
RGBrgb(143, 38, 186)
HSLhsl(283, 66%, 44%)
HSVhsv(283, 80%, 73%)
CMYKcmyk(23.1%, 79.6%, 0%, 27.1%)
CIE-LABlab(39.19, 63.80, -56.44)
CIE-LCHlch(39.19, 85.19, 318.50°)
OKLaboklab(50.46% 0.1511 -0.1597)
OKLCHoklch(50.46% 0.22 313.4)
XYZxyz(20.8822, 10.7717, 47.4240)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26BA #51BA26
analogous
#4526BA #8F26BA #BA269B
triadic
#8F26BA #BA8F26 #26BA8F
tetradic
#8F26BA #BA4526 #51BA26 #269BBA
square
#8F26BA #BA4526 #51BA26 #269BBA
split-complementary
#8F26BA #9BBA26 #26BA45
monochromatic
#411154 #681C87 #8F26BA #AE44D9 #C477E3

Accessibility & contrast

On white

6.66
#8F26BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8F26BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F26BA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26BA#FFFFFF#000000##FFFFFF
##8F26BA1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#115FB7
Tritanopia (blue-blind)
#8A4A71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f26ba;
/* rgb */ color: rgb(143, 38, 186);
/* oklch */ color: oklch(50.5% 0.220 313.4);
Tailwind
colors: {
  custom: {
    50: '#b56ed0',
    500: '#8f26ba',
    950: '#000000',
  },
}
SCSS
$custom: #8f26ba;
$custom-light: #b56ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26ba",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 282.568,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50459,
    "c": 0.21982,
    "h": 313.4
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#8F26BA
secondary
#8BCB71
accent
#E93F70
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F26BA

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

Preview Lab → · Contrast checker → · Palette generator →

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