#8F26BF#8F26BF

#8F26BF is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.224 H 312.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8F26BF
RGBrgb(143, 38, 191)
HSLhsl(281, 67%, 45%)
HSVhsv(281, 80%, 75%)
CMYKcmyk(25.1%, 80.1%, 0%, 25.1%)
CIE-LABlab(39.56, 64.80, -58.79)
CIE-LCHlch(39.56, 87.49, 317.79°)
OKLaboklab(50.83% 0.15 -0.1666)
OKLCHoklch(50.83% 0.224 312)
XYZxyz(21.4230, 10.9881, 50.2725)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26BF #56BF26
analogous
#4226BF #8F26BF #BF26A3
triadic
#8F26BF #BF8F26 #26BF8F
tetradic
#8F26BF #BF4226 #56BF26 #26A3BF
square
#8F26BF #BF4226 #56BF26 #26A3BF
split-complementary
#8F26BF #A3BF26 #26BF42
monochromatic
#431259 #691C8C #8F26BF #AC48DB #C37BE5

Accessibility & contrast

On white

6.57
#8F26BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8F26BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F26BF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26BF#FFFFFF#000000##FFFFFF
##8F26BF1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#894D73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f26bf;
/* rgb */ color: rgb(143, 38, 191);
/* oklch */ color: oklch(50.8% 0.224 312.0);
Tailwind
colors: {
  custom: {
    50: '#b56ed3',
    500: '#8f26bf',
    950: '#000000',
  },
}
SCSS
$custom: #8f26bf;
$custom-light: #b56ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26bf",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 191
  },
  "hsl": {
    "h": 281.176,
    "s": 66.812,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50832,
    "c": 0.22418,
    "h": 312
  },
  "luminance": 0.10987
}

Semantic roles & 50–950 ramp

primary
#8F26BF
secondary
#90CD74
accent
#EA3E74
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F26BF

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

Preview Lab → · Contrast checker → · Palette generator →

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