#8F26B1#8F26B1

#8F26B1 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.212 H 316.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8F26B1
RGBrgb(143, 38, 177)
HSLhsl(285, 65%, 42%)
HSVhsv(285, 79%, 69%)
CMYKcmyk(19.2%, 78.5%, 0%, 30.6%)
CIE-LABlab(38.55, 62.03, -52.16)
CIE-LCHlch(38.55, 81.05, 319.94°)
OKLaboklab(49.81% 0.1527 -0.1471)
OKLCHoklch(49.81% 0.212 316.1)
XYZxyz(19.9554, 10.4010, 42.5429)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26B1 #48B126
analogous
#4A26B1 #8F26B1 #B1268D
triadic
#8F26B1 #B18F26 #26B18F
tetradic
#8F26B1 #B14A26 #48B126 #268DB1
square
#8F26B1 #B14A26 #48B126 #268DB1
split-complementary
#8F26B1 #8DB126 #26B14A
monochromatic
#3E104C #661B7F #8F26B1 #B13FD6 #C571E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F26B1#FFFFFF#000000##FFFFFF
##8F26B11.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)
#0055B5
Deuteranopia (green-blind)
#245EAE
Tritanopia (blue-blind)
#8D466B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f26b1;
/* rgb */ color: rgb(143, 38, 177);
/* oklch */ color: oklch(49.8% 0.212 316.1);
Tailwind
colors: {
  custom: {
    50: '#b46dc9',
    500: '#8f26b1',
    950: '#000000',
  },
}
SCSS
$custom: #8f26b1;
$custom-light: #b46dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26b1",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 285.324,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49807,
    "c": 0.21204,
    "h": 316.1
  },
  "luminance": 0.104
}

Semantic roles & 50–950 ramp

primary
#8F26B1
secondary
#82C76B
accent
#E84069
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F26B1

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

Preview Lab → · Contrast checker → · Palette generator →

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