#8F26B5#8F26B5

#8F26B5 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.215 H 314.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8F26B5
RGBrgb(143, 38, 181)
HSLhsl(284, 65%, 43%)
HSVhsv(284, 79%, 71%)
CMYKcmyk(21%, 79%, 0%, 29%)
CIE-LABlab(38.83, 62.81, -54.07)
CIE-LCHlch(38.83, 82.88, 319.28°)
OKLaboklab(50.09% 0.152 -0.1527)
OKLCHoklch(50.09% 0.215 314.9)
XYZxyz(20.3599, 10.5628, 44.6734)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26B5 #4CB526
analogous
#4726B5 #8F26B5 #B52693
triadic
#8F26B5 #B58F26 #26B58F
tetradic
#8F26B5 #B54726 #4CB526 #2693B5
square
#8F26B5 #B54726 #4CB526 #2693B5
split-complementary
#8F26B5 #93B526 #26B547
monochromatic
#3F1150 #671B82 #8F26B5 #AF41D7 #C474E2

Accessibility & contrast

On white

6.75
#8F26B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8F26B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F26B5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26B5#FFFFFF#000000##FFFFFF
##8F26B51.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#1D5EB2
Tritanopia (blue-blind)
#8C486E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f26b5;
/* rgb */ color: rgb(143, 38, 181);
/* oklch */ color: oklch(50.1% 0.215 314.9);
Tailwind
colors: {
  custom: {
    50: '#b46dcc',
    500: '#8f26b5',
    950: '#000000',
  },
}
SCSS
$custom: #8f26b5;
$custom-light: #b46dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26b5",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 181
  },
  "hsl": {
    "h": 284.056,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50094,
    "c": 0.21549,
    "h": 314.9
  },
  "luminance": 0.10562
}

Semantic roles & 50–950 ramp

primary
#8F26B5
secondary
#86C96E
accent
#E8406C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F26B5

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

Preview Lab → · Contrast checker → · Palette generator →

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