#8C26BF#8C26BF

#8C26BF is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.4% C 0.223 H 310.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8C26BF
RGBrgb(140, 38, 191)
HSLhsl(280, 67%, 45%)
HSVhsv(280, 80%, 75%)
CMYKcmyk(26.7%, 80.1%, 0%, 25.1%)
CIE-LABlab(39.11, 64.29, -59.54)
CIE-LCHlch(39.11, 87.62, 317.20°)
OKLaboklab(50.43% 0.1461 -0.1689)
OKLCHoklch(50.43% 0.223 310.9)
XYZxyz(20.9105, 10.7238, 50.2485)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C26BF #59BF26
analogous
#4026BF #8C26BF #BF26A5
triadic
#8C26BF #BF8C26 #26BF8C
tetradic
#8C26BF #BF4026 #59BF26 #26A5BF
square
#8C26BF #BF4026 #59BF26 #26A5BF
split-complementary
#8C26BF #A5BF26 #26BF40
monochromatic
#411259 #671C8C #8C26BF #AA48DB #C17BE5

Accessibility & contrast

On white

6.68
#8C26BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8C26BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C26BF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C26BF#FFFFFF#000000##FFFFFF
##8C26BF1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#854D73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8c26bf;
/* rgb */ color: rgb(140, 38, 191);
/* oklch */ color: oklch(50.4% 0.223 310.9);
Tailwind
colors: {
  custom: {
    50: '#b36dd3',
    500: '#8c26bf',
    950: '#000000',
  },
}
SCSS
$custom: #8c26bf;
$custom-light: #b36dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c26bf",
  "rgb": {
    "r": 140,
    "g": 38,
    "b": 191
  },
  "hsl": {
    "h": 280,
    "s": 66.812,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50426,
    "c": 0.2233,
    "h": 310.9
  },
  "luminance": 0.10723
}

Semantic roles & 50–950 ramp

primary
#8C26BF
secondary
#92CD74
accent
#EA3E77
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8C26BF

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

Preview Lab → · Contrast checker → · Palette generator →

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