#8F26A1#8F26A1

#8F26A1 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.198 H 321.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8F26A1
RGBrgb(143, 38, 161)
HSLhsl(291, 62%, 39%)
HSVhsv(291, 76%, 63%)
CMYKcmyk(11.2%, 76.4%, 0%, 36.9%)
CIE-LABlab(37.48, 59.00, -44.31)
CIE-LCHlch(37.48, 73.79, 323.09°)
OKLaboklab(48.71% 0.1548 -0.1241)
OKLCHoklch(48.71% 0.198 321.3)
XYZxyz(18.4531, 9.8001, 34.6309)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26A1 #38A126
analogous
#5226A1 #8F26A1 #A12676
triadic
#8F26A1 #A18F26 #26A18F
tetradic
#8F26A1 #A15226 #38A126 #2676A1
square
#8F26A1 #A15226 #38A126 #2676A1
split-complementary
#8F26A1 #76A126 #26A152
monochromatic
#370F3E #631A6F #8F26A1 #B935CF #CA66DB

Accessibility & contrast

On white

7.10
#8F26A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8F26A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F26A1
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26A1#FFFFFF#000000##FFFFFF
##8F26A11.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#365C9E
Tritanopia (blue-blind)
#903F62
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f26a1;
/* rgb */ color: rgb(143, 38, 161);
/* oklch */ color: oklch(48.7% 0.198 321.3);
Tailwind
colors: {
  custom: {
    50: '#b46cbd',
    500: '#8f26a1',
    950: '#000000',
  },
}
SCSS
$custom: #8f26a1;
$custom-light: #b46cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26a1",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 291.22,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48709,
    "c": 0.1984,
    "h": 321.3
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#8F26A1
secondary
#70C162
accent
#E5435B
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F26A1

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

Preview Lab → · Contrast checker → · Palette generator →

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