#8F26A9#8F26A9

#8F26A9 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.205 H 318.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8F26A9
RGBrgb(143, 38, 169)
HSLhsl(288, 63%, 41%)
HSVhsv(288, 78%, 66%)
CMYKcmyk(15.4%, 77.5%, 0%, 33.7%)
CIE-LABlab(38.01, 60.50, -48.27)
CIE-LCHlch(38.01, 77.39, 321.41°)
OKLaboklab(49.25% 0.1539 -0.1357)
OKLCHoklch(49.25% 0.205 318.6)
XYZxyz(19.1813, 10.0914, 38.4659)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26A9 #40A926
analogous
#4E26A9 #8F26A9 #A92681
triadic
#8F26A9 #A98F26 #26A98F
tetradic
#8F26A9 #A94E26 #40A926 #2681A9
square
#8F26A9 #A94E26 #40A926 #2681A9
split-complementary
#8F26A9 #81A926 #26A94E
monochromatic
#3A1045 #651B77 #8F26A9 #B43AD3 #C76CDE

Accessibility & contrast

On white

6.96
#8F26A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8F26A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F26A9
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26A9#FFFFFF#000000##FFFFFF
##8F26A91.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#2E5DA6
Tritanopia (blue-blind)
#8E4267
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f26a9;
/* rgb */ color: rgb(143, 38, 169);
/* oklch */ color: oklch(49.2% 0.205 318.6);
Tailwind
colors: {
  custom: {
    50: '#b46dc3',
    500: '#8f26a9',
    950: '#000000',
  },
}
SCSS
$custom: #8f26a9;
$custom-light: #b46dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26a9",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 288.092,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49248,
    "c": 0.20518,
    "h": 318.6
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#8F26A9
secondary
#79C467
accent
#E64162
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8F26A9

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

Preview Lab → · Contrast checker → · Palette generator →

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