#8A26A5#8A26A5

#8A26A5 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.200 H 317.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8A26A5
RGBrgb(138, 38, 165)
HSLhsl(287, 63%, 40%)
HSVhsv(287, 77%, 65%)
CMYKcmyk(16.4%, 77%, 0%, 35.3%)
CIE-LABlab(36.94, 58.74, -47.63)
CIE-LCHlch(36.94, 75.63, 320.97°)
OKLaboklab(48.25% 0.1483 -0.134)
OKLCHoklch(48.25% 0.2 317.9)
XYZxyz(17.9649, 9.5069, 36.4787)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A26A5 #41A526
analogous
#4A26A5 #8A26A5 #A52681
triadic
#8A26A5 #A58A26 #26A58A
tetradic
#8A26A5 #A54A26 #41A526 #2681A5
square
#8A26A5 #A54A26 #41A526 #2681A5
split-complementary
#8A26A5 #81A526 #26A54A
monochromatic
#370F42 #601B73 #8A26A5 #B037D1 #C469DC

Accessibility & contrast

On white

7.24
#8A26A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8A26A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A26A5
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A26A5#FFFFFF#000000##FFFFFF
##8A26A51.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#2B5AA2
Tritanopia (blue-blind)
#894165
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a26a5;
/* rgb */ color: rgb(138, 38, 165);
/* oklch */ color: oklch(48.3% 0.200 317.9);
Tailwind
colors: {
  custom: {
    50: '#b06cc0',
    500: '#8a26a5',
    950: '#000000',
  },
}
SCSS
$custom: #8a26a5;
$custom-light: #b06cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a26a5",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 287.244,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48252,
    "c": 0.19984,
    "h": 317.9
  },
  "luminance": 0.09506
}

Semantic roles & 50–950 ramp

primary
#8A26A5
secondary
#78C364
accent
#E64265
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A26A5

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

Preview Lab → · Contrast checker → · Palette generator →

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