#8A26A7#8A26A7

#8A26A7 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.4% C 0.202 H 317.2°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8A26A7
RGBrgb(138, 38, 167)
HSLhsl(287, 63%, 40%)
HSVhsv(287, 77%, 65%)
CMYKcmyk(17.4%, 77.2%, 0%, 34.5%)
CIE-LABlab(37.08, 59.13, -48.61)
CIE-LCHlch(37.08, 76.55, 320.58°)
OKLaboklab(48.39% 0.148 -0.1368)
OKLCHoklch(48.39% 0.202 317.2)
XYZxyz(18.1484, 9.5803, 37.4449)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A26A7 #43A726
analogous
#4A26A7 #8A26A7 #A72683
triadic
#8A26A7 #A78A26 #26A78A
tetradic
#8A26A7 #A74A26 #43A726 #2683A7
square
#8A26A7 #A74A26 #43A726 #2683A7
split-complementary
#8A26A7 #83A726 #26A74A
monochromatic
#380F43 #611B75 #8A26A7 #AF38D2 #C36ADD

Accessibility & contrast

On white

7.20
#8A26A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8A26A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A26A7
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A26A7#FFFFFF#000000##FFFFFF
##8A26A71.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#295AA4
Tritanopia (blue-blind)
#894266
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a26a7;
/* rgb */ color: rgb(138, 38, 167);
/* oklch */ color: oklch(48.4% 0.202 317.2);
Tailwind
colors: {
  custom: {
    50: '#b06cc2',
    500: '#8a26a7',
    950: '#000000',
  },
}
SCSS
$custom: #8a26a7;
$custom-light: #b06cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a26a7",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 286.512,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48391,
    "c": 0.20157,
    "h": 317.2
  },
  "luminance": 0.0958
}

Semantic roles & 50–950 ramp

primary
#8A26A7
secondary
#7BC365
accent
#E64267
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8A26A7

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

Preview Lab → · Contrast checker → · Palette generator →

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