#8F26A6#8F26A6

#8F26A6 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.0% C 0.203 H 319.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8F26A6
RGBrgb(143, 38, 166)
HSLhsl(289, 63%, 40%)
HSVhsv(289, 77%, 65%)
CMYKcmyk(13.9%, 77.1%, 0%, 34.9%)
CIE-LABlab(37.81, 59.93, -46.79)
CIE-LCHlch(37.81, 76.04, 322.02°)
OKLaboklab(49.04% 0.1543 -0.1314)
OKLCHoklch(49.04% 0.203 319.6)
XYZxyz(18.9029, 9.9800, 36.9996)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26A6 #3DA626
analogous
#4F26A6 #8F26A6 #A6267D
triadic
#8F26A6 #A68F26 #26A68F
tetradic
#8F26A6 #A64F26 #3DA626 #267DA6
square
#8F26A6 #A64F26 #3DA626 #267DA6
split-complementary
#8F26A6 #7DA626 #26A64F
monochromatic
#390F42 #641B74 #8F26A6 #B638D1 #C86ADD

Accessibility & contrast

On white

7.01
#8F26A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8F26A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F26A6
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26A6#FFFFFF#000000##FFFFFF
##8F26A61.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#315CA3
Tritanopia (blue-blind)
#8F4165
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f26a6;
/* rgb */ color: rgb(143, 38, 166);
/* oklch */ color: oklch(49.0% 0.203 319.6);
Tailwind
colors: {
  custom: {
    50: '#b46dc1',
    500: '#8f26a6',
    950: '#000000',
  },
}
SCSS
$custom: #8f26a6;
$custom-light: #b46dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26a6",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 289.219,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.49043,
    "c": 0.20263,
    "h": 319.6
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#8F26A6
secondary
#76C365
accent
#E6425F
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #8F26A6

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

Preview Lab → · Contrast checker → · Palette generator →

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