#8A26A3#8A26A3

#8A26A3 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.198 H 318.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8A26A3
RGBrgb(138, 38, 163)
HSLhsl(288, 62%, 39%)
HSVhsv(288, 77%, 64%)
CMYKcmyk(15.3%, 76.7%, 0%, 36.1%)
CIE-LABlab(36.81, 58.36, -46.64)
CIE-LCHlch(36.81, 74.71, 321.37°)
OKLaboklab(48.11% 0.1485 -0.1311)
OKLCHoklch(48.11% 0.198 318.6)
XYZxyz(17.7843, 9.4347, 35.5275)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A26A3 #3FA326
analogous
#4C26A3 #8A26A3 #A3267E
triadic
#8A26A3 #A38A26 #26A38A
tetradic
#8A26A3 #A34C26 #3FA326 #267EA3
square
#8A26A3 #A34C26 #3FA326 #267EA3
split-complementary
#8A26A3 #7EA326 #26A34C
monochromatic
#360F40 #601A71 #8A26A3 #B136D0 #C568DC

Accessibility & contrast

On white

7.27
#8A26A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A26A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A26A3
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A26A3#FFFFFF#000000##FFFFFF
##8A26A31.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#2D5AA0
Tritanopia (blue-blind)
#894163
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a26a3;
/* rgb */ color: rgb(138, 38, 163);
/* oklch */ color: oklch(48.1% 0.198 318.6);
Tailwind
colors: {
  custom: {
    50: '#b06cbf',
    500: '#8a26a3',
    950: '#000000',
  },
}
SCSS
$custom: #8a26a3;
$custom-light: #b06cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a26a3",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 288,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48114,
    "c": 0.1981,
    "h": 318.6
  },
  "luminance": 0.09434
}

Semantic roles & 50–950 ramp

primary
#8A26A3
secondary
#76C263
accent
#E54363
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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