#8F26A4#8F26A4

#8F26A4 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.201 H 320.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8F26A4
RGBrgb(143, 38, 164)
HSLhsl(290, 62%, 40%)
HSVhsv(290, 77%, 64%)
CMYKcmyk(12.8%, 76.8%, 0%, 35.7%)
CIE-LABlab(37.68, 59.56, -45.80)
CIE-LCHlch(37.68, 75.13, 322.44°)
OKLaboklab(48.91% 0.1545 -0.1285)
OKLCHoklch(48.91% 0.201 320.3)
XYZxyz(18.7208, 9.9072, 36.0409)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26A4 #3BA426
analogous
#5026A4 #8F26A4 #A4267A
triadic
#8F26A4 #A48F26 #26A48F
tetradic
#8F26A4 #A45026 #3BA426 #267AA4
square
#8F26A4 #A45026 #3BA426 #267AA4
split-complementary
#8F26A4 #7AA426 #26A450
monochromatic
#380F41 #641A72 #8F26A4 #B737D1 #C968DC

Accessibility & contrast

On white

7.04
#8F26A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8F26A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F26A4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26A4#FFFFFF#000000##FFFFFF
##8F26A41.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#335CA1
Tritanopia (blue-blind)
#904064
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f26a4;
/* rgb */ color: rgb(143, 38, 164);
/* oklch */ color: oklch(48.9% 0.201 320.3);
Tailwind
colors: {
  custom: {
    50: '#b46dc0',
    500: '#8f26a4',
    950: '#000000',
  },
}
SCSS
$custom: #8f26a4;
$custom-light: #b46dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26a4",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 290,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48908,
    "c": 0.20093,
    "h": 320.3
  },
  "luminance": 0.09906
}

Semantic roles & 50–950 ramp

primary
#8F26A4
secondary
#73C264
accent
#E5425E
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #8F26A4

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

Preview Lab → · Contrast checker → · Palette generator →

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