#8F26B6#8F26B6

#8F26B6 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.216 H 314.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8F26B6
RGBrgb(143, 38, 182)
HSLhsl(284, 65%, 43%)
HSVhsv(284, 79%, 71%)
CMYKcmyk(21.4%, 79.1%, 0%, 28.6%)
CIE-LABlab(38.91, 63.01, -54.55)
CIE-LCHlch(38.91, 83.34, 319.12°)
OKLaboklab(50.17% 0.1519 -0.1541)
OKLCHoklch(50.17% 0.216 314.6)
XYZxyz(20.4629, 10.6040, 45.2158)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26B6 #4DB626
analogous
#4726B6 #8F26B6 #B62695
triadic
#8F26B6 #B68F26 #26B68F
tetradic
#8F26B6 #B64726 #4DB626 #2695B6
square
#8F26B6 #B64726 #4DB626 #2695B6
split-complementary
#8F26B6 #95B626 #26B647
monochromatic
#3F1151 #671B83 #8F26B6 #AF42D7 #C474E2

Accessibility & contrast

On white

6.73
#8F26B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8F26B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F26B6
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26B6#FFFFFF#000000##FFFFFF
##8F26B61.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#1B5EB3
Tritanopia (blue-blind)
#8B486E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f26b6;
/* rgb */ color: rgb(143, 38, 182);
/* oklch */ color: oklch(50.2% 0.216 314.6);
Tailwind
colors: {
  custom: {
    50: '#b46dcd',
    500: '#8f26b6',
    950: '#000000',
  },
}
SCSS
$custom: #8f26b6;
$custom-light: #b46dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26b6",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 283.75,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.21636,
    "h": 314.6
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#8F26B6
secondary
#87C96E
accent
#E83F6D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F26B6

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

Preview Lab → · Contrast checker → · Palette generator →

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