#8A26A8#8A26A8

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

Color values

HEX#8A26A8
RGBrgb(138, 38, 168)
HSLhsl(286, 63%, 40%)
HSVhsv(286, 77%, 66%)
CMYKcmyk(17.9%, 77.4%, 0%, 34.1%)
CIE-LABlab(37.15, 59.33, -49.10)
CIE-LCHlch(37.15, 77.01, 320.39°)
OKLaboklab(48.46% 0.1479 -0.1383)
OKLCHoklch(48.46% 0.202 316.9)
XYZxyz(18.2412, 9.6174, 37.9337)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A26A8 #44A826
analogous
#4926A8 #8A26A8 #A82685
triadic
#8A26A8 #A88A26 #26A88A
tetradic
#8A26A8 #A84926 #44A826 #2685A8
square
#8A26A8 #A84926 #44A826 #2685A8
split-complementary
#8A26A8 #85A826 #26A849
monochromatic
#380F44 #611B76 #8A26A8 #AF39D2 #C36BDE

Accessibility & contrast

On white

7.18
#8A26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A26A8
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A26A8#FFFFFF#000000##FFFFFF
##8A26A81.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#285AA5
Tritanopia (blue-blind)
#884366
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a26a8;
/* rgb */ color: rgb(138, 38, 168);
/* oklch */ color: oklch(48.5% 0.202 316.9);
Tailwind
colors: {
  custom: {
    50: '#b06cc3',
    500: '#8a26a8',
    950: '#000000',
  },
}
SCSS
$custom: #8a26a8;
$custom-light: #b06cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a26a8",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 286.154,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48462,
    "c": 0.20245,
    "h": 316.9
  },
  "luminance": 0.09617
}

Semantic roles & 50–950 ramp

primary
#8A26A8
secondary
#7CC466
accent
#E64268
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8A26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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