#8F26AC#8F26AC

#8F26AC is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.208 H 317.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8F26AC
RGBrgb(143, 38, 172)
HSLhsl(287, 64%, 41%)
HSVhsv(287, 78%, 67%)
CMYKcmyk(16.9%, 77.9%, 0%, 32.5%)
CIE-LABlab(38.21, 61.07, -49.74)
CIE-LCHlch(38.21, 78.76, 320.84°)
OKLaboklab(49.46% 0.1535 -0.14)
OKLCHoklch(49.46% 0.208 317.6)
XYZxyz(19.4661, 10.2053, 39.9662)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26AC #43AC26
analogous
#4C26AC #8F26AC #AC2686
triadic
#8F26AC #AC8F26 #26AC8F
tetradic
#8F26AC #AC4C26 #43AC26 #2686AC
square
#8F26AC #AC4C26 #43AC26 #2686AC
split-complementary
#8F26AC #86AC26 #26AC4C
monochromatic
#3C1048 #651B7A #8F26AC #B33BD4 #C66EDF

Accessibility & contrast

On white

6.91
#8F26AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8F26AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F26AC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26AC#FFFFFF#000000##FFFFFF
##8F26AC1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#2A5DA9
Tritanopia (blue-blind)
#8E4469
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f26ac;
/* rgb */ color: rgb(143, 38, 172);
/* oklch */ color: oklch(49.5% 0.208 317.6);
Tailwind
colors: {
  custom: {
    50: '#b46dc5',
    500: '#8f26ac',
    950: '#000000',
  },
}
SCSS
$custom: #8f26ac;
$custom-light: #b46dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26ac",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 287.015,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49455,
    "c": 0.20774,
    "h": 317.6
  },
  "luminance": 0.10204
}

Semantic roles & 50–950 ramp

primary
#8F26AC
secondary
#7DC568
accent
#E74165
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8F26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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