#8F26AD#8F26AD

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

Color values

HEX#8F26AD
RGBrgb(143, 38, 173)
HSLhsl(287, 64%, 41%)
HSVhsv(287, 78%, 68%)
CMYKcmyk(17.3%, 78%, 0%, 32.2%)
CIE-LABlab(38.28, 61.26, -50.22)
CIE-LCHlch(38.28, 79.22, 320.65°)
OKLaboklab(49.53% 0.1533 -0.1414)
OKLCHoklch(49.53% 0.209 317.3)
XYZxyz(19.5625, 10.2439, 40.4739)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26AD #44AD26
analogous
#4C26AD #8F26AD #AD2688
triadic
#8F26AD #AD8F26 #26AD8F
tetradic
#8F26AD #AD4C26 #44AD26 #2688AD
square
#8F26AD #AD4C26 #44AD26 #2688AD
split-complementary
#8F26AD #88AD26 #26AD4C
monochromatic
#3C1049 #661B7B #8F26AD #B23CD4 #C66EDF

Accessibility & contrast

On white

6.89
#8F26AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8F26AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F26AD
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26AD#FFFFFF#000000##FFFFFF
##8F26AD1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B1
Deuteranopia (green-blind)
#295DAA
Tritanopia (blue-blind)
#8E4469
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f26ad;
/* rgb */ color: rgb(143, 38, 173);
/* oklch */ color: oklch(49.5% 0.209 317.3);
Tailwind
colors: {
  custom: {
    50: '#b46dc6',
    500: '#8f26ad',
    950: '#000000',
  },
}
SCSS
$custom: #8f26ad;
$custom-light: #b46dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26ad",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 286.667,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.2086,
    "h": 317.3
  },
  "luminance": 0.10243
}

Semantic roles & 50–950 ramp

primary
#8F26AD
secondary
#7EC669
accent
#E74166
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8F26AD

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

Preview Lab → · Contrast checker → · Palette generator →

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