#8F26AE#8F26AE

#8F26AE is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.209 H 317.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8F26AE
RGBrgb(143, 38, 174)
HSLhsl(286, 64%, 42%)
HSVhsv(286, 78%, 68%)
CMYKcmyk(17.8%, 78.2%, 0%, 31.8%)
CIE-LABlab(38.35, 61.45, -50.71)
CIE-LCHlch(38.35, 79.67, 320.47°)
OKLaboklab(49.6% 0.1532 -0.1428)
OKLCHoklch(49.6% 0.209 317)
XYZxyz(19.6596, 10.2827, 40.9854)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26AE #45AE26
analogous
#4B26AE #8F26AE #AE2689
triadic
#8F26AE #AE8F26 #26AE8F
tetradic
#8F26AE #AE4B26 #45AE26 #2689AE
square
#8F26AE #AE4B26 #45AE26 #2689AE
split-complementary
#8F26AE #89AE26 #26AE4B
monochromatic
#3C104A #661B7C #8F26AE #B23DD5 #C66FE0

Accessibility & contrast

On white

6.87
#8F26AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8F26AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F26AE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26AE#FFFFFF#000000##FFFFFF
##8F26AE1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#285DAB
Tritanopia (blue-blind)
#8D456A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f26ae;
/* rgb */ color: rgb(143, 38, 174);
/* oklch */ color: oklch(49.6% 0.209 317.0);
Tailwind
colors: {
  custom: {
    50: '#b46dc7',
    500: '#8f26ae',
    950: '#000000',
  },
}
SCSS
$custom: #8f26ae;
$custom-light: #b46dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26ae",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 286.324,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49595,
    "c": 0.20946,
    "h": 317
  },
  "luminance": 0.10282
}

Semantic roles & 50–950 ramp

primary
#8F26AE
secondary
#7FC66A
accent
#E74167
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8F26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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