#8F26C2#8F26C2

#8F26C2 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 51.1% C 0.227 H 311.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8F26C2
RGBrgb(143, 38, 194)
HSLhsl(280, 67%, 45%)
HSVhsv(280, 80%, 76%)
CMYKcmyk(26.3%, 80.4%, 0%, 23.9%)
CIE-LABlab(39.78, 65.41, -60.18)
CIE-LCHlch(39.78, 88.88, 317.38°)
OKLaboklab(51.06% 0.1494 -0.1707)
OKLCHoklch(51.06% 0.227 311.2)
XYZxyz(21.7565, 11.1215, 52.0290)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26C2 #59C226
analogous
#4126C2 #8F26C2 #C226A7
triadic
#8F26C2 #C28F26 #26C28F
tetradic
#8F26C2 #C24126 #59C226 #26A7C2
square
#8F26C2 #C24126 #59C226 #26A7C2
split-complementary
#8F26C2 #A7C226 #26C241
monochromatic
#44125C #691C8F #8F26C2 #AC4ADB #C37DE6

Accessibility & contrast

On white

6.51
#8F26C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8F26C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F26C2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26C2#FFFFFF#000000##FFFFFF
##8F26C21.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#884E75
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f26c2;
/* rgb */ color: rgb(143, 38, 194);
/* oklch */ color: oklch(51.1% 0.227 311.2);
Tailwind
colors: {
  custom: {
    50: '#b56ed5',
    500: '#8f26c2',
    950: '#000000',
  },
}
SCSS
$custom: #8f26c2;
$custom-light: #b56ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26c2",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 194
  },
  "hsl": {
    "h": 280.385,
    "s": 67.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51059,
    "c": 0.22678,
    "h": 311.2
  },
  "luminance": 0.11121
}

Semantic roles & 50–950 ramp

primary
#8F26C2
secondary
#93CE76
accent
#EA3E76
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F26C2

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

Preview Lab → · Contrast checker → · Palette generator →

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