#8F26C3#8F26C3

#8F26C3 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.228 H 310.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8F26C3
RGBrgb(143, 38, 195)
HSLhsl(280, 67%, 46%)
HSVhsv(280, 81%, 76%)
CMYKcmyk(26.7%, 80.5%, 0%, 23.5%)
CIE-LABlab(39.86, 65.61, -60.64)
CIE-LCHlch(39.86, 89.34, 317.25°)
OKLaboklab(51.14% 0.1491 -0.172)
OKLCHoklch(51.14% 0.228 310.9)
XYZxyz(21.8692, 11.1665, 52.6225)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26C3 #5AC326
analogous
#4026C3 #8F26C3 #C326A9
triadic
#8F26C3 #C38F26 #26C38F
tetradic
#8F26C3 #C34026 #5AC326 #26A9C3
square
#8F26C3 #C34026 #5AC326 #26A9C3
split-complementary
#8F26C3 #A9C326 #26C340
monochromatic
#44125D #691C90 #8F26C3 #AC4ADC #C37EE6

Accessibility & contrast

On white

6.50
#8F26C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8F26C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F26C3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26C3#FFFFFF#000000##FFFFFF
##8F26C31.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#884E76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f26c3;
/* rgb */ color: rgb(143, 38, 195);
/* oklch */ color: oklch(51.1% 0.228 310.9);
Tailwind
colors: {
  custom: {
    50: '#b56ed6',
    500: '#8f26c3',
    950: '#000000',
  },
}
SCSS
$custom: #8f26c3;
$custom-light: #b56ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26c3",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 195
  },
  "hsl": {
    "h": 280.127,
    "s": 67.382,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51135,
    "c": 0.22766,
    "h": 310.9
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

primary
#8F26C3
secondary
#94CE77
accent
#EA3E77
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F26C3

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

Preview Lab → · Contrast checker → · Palette generator →

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