#8F26B9#8F26B9

#8F26B9 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.4% C 0.219 H 313.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8F26B9
RGBrgb(143, 38, 185)
HSLhsl(283, 66%, 44%)
HSVhsv(283, 79%, 73%)
CMYKcmyk(22.7%, 79.5%, 0%, 27.5%)
CIE-LABlab(39.12, 63.60, -55.97)
CIE-LCHlch(39.12, 84.72, 318.65°)
OKLaboklab(50.39% 0.1513 -0.1583)
OKLCHoklch(50.39% 0.219 313.7)
XYZxyz(20.7762, 10.7293, 46.8661)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26B9 #50B926
analogous
#4526B9 #8F26B9 #B92699
triadic
#8F26B9 #B98F26 #26B98F
tetradic
#8F26B9 #B94526 #50B926 #2699B9
square
#8F26B9 #B94526 #50B926 #2699B9
split-complementary
#8F26B9 #99B926 #26B945
monochromatic
#411153 #681C86 #8F26B9 #AE44D9 #C476E3

Accessibility & contrast

On white

6.68
#8F26B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F26B9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26B9#FFFFFF#000000##FFFFFF
##8F26B91.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#145EB6
Tritanopia (blue-blind)
#8B4A70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f26b9;
/* rgb */ color: rgb(143, 38, 185);
/* oklch */ color: oklch(50.4% 0.219 313.7);
Tailwind
colors: {
  custom: {
    50: '#b56ecf',
    500: '#8f26b9',
    950: '#000000',
  },
}
SCSS
$custom: #8f26b9;
$custom-light: #b56ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26b9",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 282.857,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50386,
    "c": 0.21896,
    "h": 313.7
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#8F26B9
secondary
#8ACA70
accent
#E93F6F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F26B9

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

Preview Lab → · Contrast checker → · Palette generator →

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