#8F26A0#8F26A0

#8F26A0 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.198 H 321.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8F26A0
RGBrgb(143, 38, 160)
HSLhsl(292, 62%, 39%)
HSVhsv(292, 76%, 63%)
CMYKcmyk(10.6%, 76.3%, 0%, 37.3%)
CIE-LABlab(37.42, 58.81, -43.81)
CIE-LCHlch(37.42, 73.34, 323.32°)
OKLaboklab(48.64% 0.1549 -0.1226)
OKLCHoklch(48.64% 0.198 321.6)
XYZxyz(18.3653, 9.7650, 34.1684)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26A0 #37A026
analogous
#5226A0 #8F26A0 #A02674
triadic
#8F26A0 #A08F26 #26A08F
tetradic
#8F26A0 #A05226 #37A026 #2674A0
square
#8F26A0 #A05226 #37A026 #2674A0
split-complementary
#8F26A0 #74A026 #26A052
monochromatic
#370F3D #631A6F #8F26A0 #B934CF #CA66DB

Accessibility & contrast

On white

7.11
#8F26A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8F26A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F26A0
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26A0#FFFFFF#000000##FFFFFF
##8F26A01.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#365C9D
Tritanopia (blue-blind)
#903E62
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f26a0;
/* rgb */ color: rgb(143, 38, 160);
/* oklch */ color: oklch(48.6% 0.198 321.6);
Tailwind
colors: {
  custom: {
    50: '#b46cbd',
    500: '#8f26a0',
    950: '#000000',
  },
}
SCSS
$custom: #8f26a0;
$custom-light: #b46cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26a0",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 291.639,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48643,
    "c": 0.19756,
    "h": 321.6
  },
  "luminance": 0.09764
}

Semantic roles & 50–950 ramp

primary
#8F26A0
secondary
#6FC061
accent
#E5435A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F26A0

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

Preview Lab → · Contrast checker → · Palette generator →

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