#8A26B7#8A26B7

#8A26B7 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.216 H 312.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8A26B7
RGBrgb(138, 38, 183)
HSLhsl(281, 66%, 43%)
HSVhsv(281, 79%, 72%)
CMYKcmyk(24.6%, 79.2%, 0%, 28.2%)
CIE-LABlab(38.21, 62.32, -56.29)
CIE-LCHlch(38.21, 83.98, 317.91°)
OKLaboklab(49.55% 0.1452 -0.1594)
OKLCHoklch(49.55% 0.216 312.3)
XYZxyz(19.7200, 10.2090, 45.7223)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A26B7 #53B726
analogous
#4126B7 #8A26B7 #B7269B
triadic
#8A26B7 #B78A26 #26B78A
tetradic
#8A26B7 #B74126 #53B726 #269BB7
square
#8A26B7 #B74126 #53B726 #269BB7
split-complementary
#8A26B7 #9BB726 #26B741
monochromatic
#3E1152 #641B84 #8A26B7 #A942D8 #C075E2

Accessibility & contrast

On white

6.90
#8A26B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8A26B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A26B7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A26B7#FFFFFF#000000##FFFFFF
##8A26B71.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#075CB4
Tritanopia (blue-blind)
#854A6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a26b7;
/* rgb */ color: rgb(138, 38, 183);
/* oklch */ color: oklch(49.6% 0.216 312.3);
Tailwind
colors: {
  custom: {
    50: '#b16dcd',
    500: '#8a26b7',
    950: '#000000',
  },
}
SCSS
$custom: #8a26b7;
$custom-light: #b16dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a26b7",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 281.379,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49551,
    "c": 0.21564,
    "h": 312.3
  },
  "luminance": 0.10208
}

Semantic roles & 50–950 ramp

primary
#8A26B7
secondary
#8BCA6F
accent
#E93F74
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8A26B7

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

Preview Lab → · Contrast checker → · Palette generator →

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